rerun actions #38
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_standard: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Download Mackiloha | |
run: | | |
pip install requests | |
python dependencies/dev_scripts/download_mackiloha.py | |
- name: Set env | |
run: | | |
echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV | |
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | |
chmod +x dependencies/linux/arkhelper | |
chmod +x dependencies/linux/dtab | |
chmod +x dependencies/linux/superfreq | |
pip install gitpython | |
pip install mido | |
- name: Print build info | |
run: | | |
echo $GITHUB_SHA_SHORT | |
python dependencies/dev_scripts/add_devbuild.py $GITHUB_SHA_SHORT | |
- name: Build ARK | |
run: | | |
dependencies/linux/arkhelper dir2ark ./_ark ./_build/gen -n "patch_xbox" -e -v 6 | |
- name: Remove Excess files | |
run: | | |
find . -name "*.txt" -type f -delete | |
find . -name "nxeart" -type f -delete | |
- name: Upload result | |
uses: actions/upload-artifact@v2 | |
with: | |
name: DC3DX-Xbox | |
path: _build |