Skip to content

Commit

Permalink
fix: add checkout before version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
luismeyer committed Apr 3, 2022
1 parent 56627e5 commit 17dfac6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: yarn build

prettier:
name: Prettier
name: 🪞 Prettier
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
Expand Down Expand Up @@ -78,10 +78,19 @@ jobs:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]

- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: 🛸 Version Bump
id: version-bump
uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag-prefix: 'v'
skip-tag: 'true'

- name: ℹ️ New Version
env:
NEW_TAG: ${{ steps.version-bump.outputs.newTag }}
run: echo "Version $NEW_TAG"

0 comments on commit 17dfac6

Please sign in to comment.