Skip to content

Commit

Permalink
fix action tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
moremorefun committed Jun 27, 2020
1 parent 3e72c36 commit 8dfade4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
Expand All @@ -21,7 +24,7 @@ jobs:
go mod download
- name: Build
run: |
make release VERSION=${{ github.ref }}
make release VERSION=${{ steps.get_version.outputs.VERSION }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 8dfade4

Please sign in to comment.