Skip to content

feat: Add get unixtime #21

feat: Add get unixtime

feat: Add get unixtime #21

Workflow file for this run

---
name: Release
# Only release when a new GH tag is added
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout and set env
- name: Checkout
uses: actions/checkout@v4
# It is required for the changelog to work correctly.
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
# Build & Release binaries
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
if: success() && startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}