mirror of
https://github.com/rvtr/TDT.git
synced 2025-06-19 03:05:43 -04:00
Update build.yml
This commit is contained in:
parent
4fc1756ab7
commit
c95212e38c
33
.github/workflows/build.yml
vendored
33
.github/workflows/build.yml
vendored
@ -19,16 +19,38 @@ jobs:
|
|||||||
name: Build with Docker using devkitARM
|
name: Build with Docker using devkitARM
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v4
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: git config --global safe.directory '*'
|
run: git config --global safe.directory '*'
|
||||||
|
- name: Set up Python 3.12
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.12"
|
||||||
- name: Build TAD Delivery Tool
|
- name: Build TAD Delivery Tool
|
||||||
run: make
|
run: make
|
||||||
- name: Publish build to GH Actions
|
- name: Publish build to GH Actions
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4.3.6
|
||||||
with:
|
with:
|
||||||
path: "*.dsi"
|
path: "TDT.dsi"
|
||||||
name: build
|
name: TDT-Nightly-Unsigned
|
||||||
|
- name: Clone ntool
|
||||||
|
uses: GuillaumeFalourd/clone-github-repo-action@v2.1
|
||||||
|
with:
|
||||||
|
depth: 1
|
||||||
|
branch: 'master'
|
||||||
|
owner: 'xprism1'
|
||||||
|
repository: 'ntool'
|
||||||
|
- name: Devsign TAD Delivery Tool
|
||||||
|
run: |
|
||||||
|
cp TDT.dsi ntool/
|
||||||
|
cd ntool/
|
||||||
|
python ntool.py srl_retail2dev TDT.dsi
|
||||||
|
- name: Publish devsigned build to GH Actions
|
||||||
|
uses: actions/upload-artifact@v4.3.6
|
||||||
|
with:
|
||||||
|
path: "ntool/TDT_dev.dsi"
|
||||||
|
name: TDT-Nightly-Devsigned
|
||||||
|
|
||||||
|
|
||||||
# Only run this for non-PR jobs.
|
# Only run this for non-PR jobs.
|
||||||
publish_build:
|
publish_build:
|
||||||
@ -42,8 +64,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: build
|
name: build
|
||||||
path: build
|
path: build
|
||||||
- name:
|
- name: Publish Build
|
||||||
if:
|
|
||||||
run: |
|
run: |
|
||||||
ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)
|
ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user