-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (34 loc) · 1.04 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Build package
on: [ push, pull_request, workflow_dispatch ]
# written referencing apollo save tool psp's CI
jobs:
build_pkg:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
# install latest pspdev sdk
- name: Install mingw
run: |
sudo apt update
sudo apt install -y g++-mingw-w64-i686
- name: Set env vars
run: |
echo "sha_name=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_ENV
- name: Build asi
run: |
bash build.sh
- name: Fetch ThirteenAG's asi loader
run: |
wget https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/download/v7.7.0/Ultimate-ASI-Loader.zip
unzip Ultimate-ASI-Loader.zip
mv dinput8.dll d3d9.dll
- name: Push package artifact
uses: actions/upload-artifact@v4
with:
name: s4_league_fps_unlock_${{ env.sha_name }}
path: |
s4_league_fps_unlock.asi
s4_league_fps_unlock.json
d3d9.dll
if-no-files-found: error