josh ui updates 007-4 constituency page (#99) #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bump Version | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
bump-version: | |
name: Bump Version on main | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout latest code from main branch | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
- name: Print old package.json | |
run: cat ./package.json | |
- name: Bump package.json verson | |
id: version-bump | |
uses: "phips28/gh-action-bump-version@master" | |
with: | |
tag-prefix: "v" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
- name: Print new package.json | |
run: cat ./package.json | |
- name: Print New Verion | |
env: | |
NEW_TAG: ${{ steps.version-bump.outputs.newTag }} | |
run: | | |
echo "New version is: $NEW_TAG" |