Update building.yml

This commit is contained in:
Lillian Skinner 2024-11-30 18:44:16 -05:00 committed by GitHub
parent 4df073f48f
commit cd702bdb08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,6 +37,11 @@ jobs:
with: with:
path: "GodMode9i.dsi" path: "GodMode9i.dsi"
name: GodMode9i-Nightly-Unsigned name: GodMode9i-Nightly-Unsigned
- name: Publish unsigned build to GH Actions
uses: actions/upload-artifact@v4.3.6
with:
path: "GodMode9i_sys.dsi"
name: GodMode9i-Nightly-Unsigned_sys
- name: Publish CTR build to GH Actions - name: Publish CTR build to GH Actions
uses: actions/upload-artifact@v4.3.6 uses: actions/upload-artifact@v4.3.6
with: with:
@ -53,6 +58,11 @@ jobs:
with: with:
name: GodMode9i-Nightly-Unsigned name: GodMode9i-Nightly-Unsigned
path: D:\a\GodMode9i\GodMode9i\GodMode9i-Build path: D:\a\GodMode9i\GodMode9i\GodMode9i-Build
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: GodMode9i-Nightly-Unsigned_sys
path: D:\a\GodMode9i\GodMode9i\GodMode9i-Build_sys
- name: Set up Python 3.12 - name: Set up Python 3.12
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
@ -66,25 +76,38 @@ jobs:
- name: Devsign GodMode9i - name: Devsign GodMode9i
run: | run: |
cp GodMode9i-Build\GodMode9i.dsi ntool cp GodMode9i-Build\GodMode9i.dsi ntool
cp GodMode9i-Build_sys\GodMode9i_sys.dsi ntool
cd ntool cd ntool
pip install pycryptodome pip install pycryptodome
python ntool.py srl_retail2dev GodMode9i.dsi python ntool.py srl_retail2dev GodMode9i.dsi
python ntool.py srl_retail2dev GodMode9i_sys.dsi
- name: Publish devsigned build to GH Actions - name: Publish devsigned build to GH Actions
uses: actions/upload-artifact@v4.3.6 uses: actions/upload-artifact@v4.3.6
with: with:
path: "ntool/GodMode9i_dev.srl" path: "ntool/GodMode9i_dev.srl"
name: GodMode9i-Nightly-Devsigned name: GodMode9i-Nightly-Devsigned
- name: Publish devsigned build to GH Actions
uses: actions/upload-artifact@v4.3.6
with:
path: "ntool/GodMode9i_sys_dev.srl"
name: GodMode9i-Nightly-Devsigned_sys
- name: Make a devsigned TAD - name: Make a devsigned TAD
run: | run: |
curl https://cdn.randommeaninglesscharacters.com/tools/maketad/maketad.zip -o maketad.zip curl https://cdn.randommeaninglesscharacters.com/tools/maketad/maketad.zip -o maketad.zip
7z e maketad.zip 7z e maketad.zip
cp ntool/GodMode9i_dev.srl . cp ntool/GodMode9i_dev.srl .
.\maketad-20090604.exe GodMode9i_dev.srl -s -o GodMode9i-Nightly.tad .\maketad-20090604.exe GodMode9i_sys_dev.srl -s -o GodMode9i-Nightly_sys.tad
.\maketad-20090604.exe GodMode9i_dev.srl -o GodMode9i-Nightly.tad
- name: Publish devsigned TAD to GH Actions - name: Publish devsigned TAD to GH Actions
uses: actions/upload-artifact@v4.3.6 uses: actions/upload-artifact@v4.3.6
with: with:
path: "GodMode9i-Nightly.tad" path: "GodMode9i-Nightly.tad"
name: GodMode9i-Nightly-TAD name: GodMode9i-Nightly-TAD
- name: Publish devsigned TAD to GH Actions
uses: actions/upload-artifact@v4.3.6
with:
path: "GodMode9i-Nightly_sys.tad"
name: GodMode9i-Nightly-TAD_sys
# Only run this for non-PR jobs. # Only run this for non-PR jobs.
publish_build: publish_build: