Update action.txt #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |