Merge pull request #5 from castdrian/patch-1

fix(workflow): bump version before building lol
This commit is contained in:
Jorrin
2024-01-23 07:59:34 +01:00
committed by GitHub

View File

@@ -10,6 +10,25 @@ permissions:
contents: write
jobs:
bump-version:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Automated Version Bump
uses: phips28/gh-action-bump-version@v10.1.1
with:
skip-tag: 'true'
commit-message: 'chore: bump mobile version to {{version}} [skip ci]'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGEJSON_DIR: 'apps/mobile'
build-android:
runs-on: ubuntu-latest
@@ -107,17 +126,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Automated Version Bump
uses: phips28/gh-action-bump-version@v10.1.1
with:
skip-tag: 'true'
commit-message: 'chore: bump version to {{version}} [skip ci]'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGEJSON_DIR: 'apps/mobile'
- name: Download build artifacts
uses: actions/download-artifact@v4