Skip to content

Commit

Permalink
hopefully fixed actions? (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
glitchgod0 authored Sep 14, 2024
1 parent cb15fd6 commit bc50e07
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 31 deletions.
44 changes: 14 additions & 30 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,26 @@ on: [push, pull_request]

jobs:

build_xbox_standard:
build_xbox:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
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
python-version: '3.11'
- name: Build ARK
run: |
dependencies/linux/arkhelper dir2ark ./_ark ./_build/gen -n "patch_xbox" -e -v 6
- name: Remove Excess files
chmod +x dependencies/python/configure_build.py
dependencies/python/configure_build.py xbox
chmod +x dependencies/linux/ninja
dependencies/linux/ninja
- name: Remove .gitkeep
run: |
find . -name "*.txt" -type f -delete
find . -name "nxeart" -type f -delete
find . -name ".gitkeep" -type f -delete
- name: Upload result
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: DC3DX-Xbox
path: _build
path: out/xbox
#
2 changes: 1 addition & 1 deletion dependencies/python/configure_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

ninja = ninja_syntax.Writer(open("build.ninja", "w+"))

#versions
#versions
#gh1, gh2 - " "
#rb1, track packs - "-v 4"
#rb2, tbrb, gdrb - "-v 5"
Expand Down

0 comments on commit bc50e07

Please sign in to comment.