test skipping of jobs

This commit is contained in:
Gergely Hegedus 2023-10-17 11:32:07 +03:00
parent 7d09e90a78
commit 8a41fc121e

View file

@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- release_main
jobs:
run-tests:
@ -32,6 +33,7 @@ jobs:
run: npm run test
build-android:
if: ${{ startsWith(github.base_ref, 'release_') }}
needs: run-tests
runs-on: ubuntu-latest
permissions:
@ -73,6 +75,7 @@ jobs:
run: bundle exec fastlane buildReleaseApk
build-ios:
if: ${{ startsWith(github.base_ref, 'release_') }}
needs: run-tests
runs-on: macos-latest
permissions: