CI: Allow whole ZRE repo to be replaceable (#182)

This commit is contained in:
David Chavez 2024-05-18 22:35:13 +02:00 committed by GitHub
parent 511fca8393
commit 3f9478c7e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 7 deletions

View File

@ -2,7 +2,7 @@ name: validate
on: on:
push: push:
branches: branches:
- main - dev
pull_request: pull_request:
types: [opened, synchronize] types: [opened, synchronize]
concurrency: concurrency:
@ -45,10 +45,8 @@ jobs:
echo ::endgroup:: echo ::endgroup::
- name: Prepare Build - name: Prepare Build
run: |- run: |-
git clone https://${{ secrets.PAT }}@github.com/dcvz/zre.git git clone ${{ secrets.ZRE_REPO_WITH_PAT }}
./zre/process.sh ./zre/process.sh
env:
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
- name: Build N64Recomp & RSPRecomp - name: Build N64Recomp & RSPRecomp
if: runner.os != 'Windows' if: runner.os != 'Windows'
run: | run: |
@ -110,10 +108,8 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1 uses: ilammy/msvc-dev-cmd@v1
- name: Prepare Build - name: Prepare Build
run: |- run: |-
git clone https://${{ secrets.PAT }}@github.com/dcvz/zre.git git clone ${{ secrets.ZRE_REPO_WITH_PAT }}
./zre/process.ps1 ./zre/process.ps1
env:
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
- name: Build N64Recomp & RSPRecomp - name: Build N64Recomp & RSPRecomp
run: | run: |
git clone https://github.com/Mr-Wiseguy/N64Recomp.git --recurse-submodules N64RecompSource git clone https://github.com/Mr-Wiseguy/N64Recomp.git --recurse-submodules N64RecompSource