actions: android: Move trigger logic to be yuzu-android specific
This commit is contained in:
parent
148ad0cf0b
commit
9a31122c82
2 changed files with 35 additions and 12 deletions
4
.github/workflows/android-publish.yml
vendored
4
.github/workflows/android-publish.yml
vendored
|
|
@ -16,7 +16,7 @@ on:
|
|||
jobs:
|
||||
android:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.inputs.android != 'false' && github.repository == 'yuzu-emu/yuzu' }}
|
||||
if: ${{ github.event.inputs.android != 'false' && github.repository == 'yuzu-emu/yuzu-android' }}
|
||||
steps:
|
||||
# this checkout is required to make sure the GitHub Actions scripts are available
|
||||
- uses: actions/checkout@v3
|
||||
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
script: |
|
||||
if (context.payload.inputs && context.payload.inputs.android === 'true') return true;
|
||||
const checkAndroidChanges = require('./.github/workflows/android-merge.js').checkAndroidChanges;
|
||||
return checkAndroidChanges(github, context);
|
||||
return checkAndroidChanges(github);
|
||||
- run: npm install execa@5
|
||||
if: ${{ steps.check-changes.outputs.result == 'true' }}
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue