Skip to content

Commit

Permalink
Try a pre-built short hash action
Browse files Browse the repository at this point in the history
  • Loading branch information
thebeanogamer committed Aug 8, 2020
1 parent 413a4aa commit d87e84a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@master

- uses: benjlevesque/[email protected]
id: short-sha
with:
length: 6

- name: Setup Go
uses: actions/setup-go@v2
with:
Expand All @@ -31,8 +36,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.sha::8 }}
release_name: Release ${{ github.sha::8 }}
tag_name: ${{ steps.short-sha.outputs.sha }}
release_name: Release ${{ steps.short-sha.outputs.sha }}
body: Automated release
draft: false
prerelease: false
Expand Down

0 comments on commit d87e84a

Please sign in to comment.