Skip to content

Commit

Permalink
Update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Xzonn committed Feb 19, 2024
1 parent 86c0615 commit ac12cc4
Show file tree
Hide file tree
Showing 6 changed files with 8,391 additions and 26 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: master
fetch-depth: 1
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: '3.12'
- name: Commit Information
id: commit
run: |
Expand All @@ -26,20 +26,20 @@ jobs:
pushd scripts
python main_create.py
popd
zip -r out/patch.zip out/exefs out/romfs
zip -r out/patch.zip out/01003bd013e30000/
- name: Upload patch
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: patch
path: |
out/patch/exefs
out/patch/romfs
out/01003bd013e30000/
- name: GitHub Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "out/patch.zip"
bodyFile: README.md
body: |
本页面下方的链接为自动构建并发布的开发版本补丁。此版本补丁可能存在较多问题,仅供测试使用。
name: ${{ steps.commit.outputs.commit_message }}
tag: publish
token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit ac12cc4

Please sign in to comment.