Skip to content

Commit

Permalink
ci: bump should now suceed in no action
Browse files Browse the repository at this point in the history
NB. Confirmed occasional failure on post-setup for go until version
after actions/setup-go@v3.3.0 is released.
actions/setup-go#264
  • Loading branch information
jphastings committed Oct 13, 2022
1 parent 2a4882a commit b857b50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/bump.yml
Expand Up @@ -30,6 +30,7 @@ jobs:
run: |
VERSION=$(git describe --tags --exact-match 2> /dev/null)
[[ ! -z $VERSION ]] && echo "version=${VERSION}" >> $GITHUB_OUTPUT
exit 0
goreleaser:
needs: bump-version
if: "${{ needs.bump-version.outputs.new_version != '' }}"
Expand All @@ -43,7 +44,7 @@ jobs:
- run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
cache: true
go-version-file: go.mod
- name: Setup release environment
run: |
echo 'GITHUB_TOKEN=${{ secrets.GH_TOKEN }}' > .release-env
Expand Down

0 comments on commit b857b50

Please sign in to comment.