CI: Update build to use patches.zip instead of cheats

This commit is contained in:
Stenzek 2023-05-26 20:33:51 +10:00 committed by refractionpcsx2
parent 81da9fb5a4
commit ed6dd6f6cd
3 changed files with 9 additions and 9 deletions

View File

@ -28,7 +28,7 @@ on:
required: false
type: string
default: ""
cheats_url:
patches_url:
required: false
type: string
default: https://github.com/PCSX2/pcsx2_patches/releases/latest/download
@ -93,10 +93,10 @@ jobs:
if: steps.cache-deps.outputs.cache-hit != 'true'
run: .github/workflows/scripts/linux/build-dependencies-qt.sh
- name: Download cheats
- name: Download patches
run: |
cd bin/resources
aria2c -Z "${{ inputs.cheats_url }}/cheats_ni.zip" "${{ inputs.cheats_url }}/cheats_ws.zip"
aria2c -Z "${{ inputs.patches_url }}/patches.zip"
- name: Generate CMake
env:

View File

@ -17,7 +17,7 @@ on:
gui:
required: true
type: string
cheats_url:
patches_url:
required: false
type: string
default: https://github.com/PCSX2/pcsx2_patches/releases/latest/download
@ -82,10 +82,10 @@ jobs:
GUI: ${{ inputs.gui }}
run: .github/workflows/scripts/macos/build-dependencies.sh
- name: Download cheats
- name: Download patches
run: |
cd bin/resources
aria2c -Z "${{ inputs.cheats_url }}/cheats_ni.zip" "${{ inputs.cheats_url }}/cheats_ws.zip"
aria2c -Z "${{ inputs.patches_url }}/patches.zip"
# -- SETUP CCACHE - https://cristianadam.eu/20200113/speeding-up-c-plus-plus-github-actions-using-ccache/
- name: Prepare ccache timestamp

View File

@ -37,7 +37,7 @@ on:
required: false
type: string
default: 3rdparty\qt\6.5.0\msvc2022_64
cheats_url:
patches_url:
required: false
type: string
default: https://github.com/PCSX2/pcsx2_patches/releases/latest/download
@ -84,11 +84,11 @@ jobs:
7z x qt-*-x64.7z
del qt-*-x64.7z
- name: Download cheats
- name: Download patches
shell: cmd
run: |
cd bin/resources
aria2c -Z "${{ inputs.cheats_url }}/cheats_ni.zip" "${{ inputs.cheats_url }}/cheats_ws.zip"
aria2c -Z "${{ inputs.patches_url }}/patches.zip"
- name: Generate CMake
if: inputs.configuration == 'CMake'