-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 998 Bytes
/
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
name: CI
on: [push, pull_request]
jobs:
build_xbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build GH2CUSTOMSREPO stfs
run: |
chmod +x dependencies/OnyxToolkit/onyx
find . -name "*.vgs" -type f -delete
find . -name "*.bmp_ps2" -type f -delete
mkdir ./album_art
find . -name '*.bmp_xbox' -exec cp --parents \{\} ./album_art \;
mv -v ./album_art/GH2CUSTOMSREPO/songs/* ./album_art
rm -rf ./album_art/GH2CUSTOMSREPO/
mv dependencies/album_art_readme.txt ./album_art_readme.txt
export LD_LIBRARY_PATH=$(pwd)/dependencies/OnyxToolkit/lib
dependencies/OnyxToolkit/onyx stfs ./GH2CUSTOMSREPO --game gh2
- name: Upload result
uses: actions/upload-artifact@v2
with:
name: GH2CUSTOMSREPO-Xbox_songs
path: |
GH2CUSTOMSREPO_gh2live
./album_art/*
album_art_readme.txt