Skip to content

Commit

Permalink
feat: change release tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
robinWongM authored Apr 19, 2020
1 parent b15807a commit a6b979e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/caddy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,21 @@ jobs:
run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -v
working-directory: caddy/

- name: Get Time
id: time
uses: nanzm/[email protected]
with:
timeZone: 8
format: 'YYYY-MM-DD-HH-mm-ss'

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: true
tag_name: ${{ steps.time.outputs.time }}
release_name: Build artifacts @ ${{ steps.time.outputs.time }}

- name: Upload Release Asset
id: upload-release-asset
Expand Down

0 comments on commit a6b979e

Please sign in to comment.