diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 20f521c2..710f0368 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -24,19 +24,25 @@ jobs: xgo_version: latest go_version: ${{ matrix.go_version }} dest: build - prefix: autocannon-go - targets: windows/386,windows/amd64,linux/386,linux/amd64,darwin/386,darwin/amd64,darwin/arm64 + prefix: matrix-gost + targets: windows/386,windows/amd64,linux/386,linux/amd64,darwin/386,darwin/amd64 v: true x: false ldflags: -s -w + - name: Get Time + id: time + uses: nanzm/get-time-action@v1.0 + with: + timeZone: 8 + format: 'YYYY-MM-DD-HH-mm-ss' - name: Create Release uses: actions/create-release@v1.0.0 id: create_release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + tag_name: ${{ steps.time.outputs.time }} + release_name: Build artifacts @ ${{ steps.time.outputs.time }} draft: false prerelease: false - name: Upload Release Assets