mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-22 18:26:39 +00:00
Workflow improvement (#140)
* workflow: add ability to skip ci * workflow: upload artifacts to prerelease
This commit is contained in:
parent
c1b76fb2d9
commit
aca901bb62
1 changed files with 21 additions and 0 deletions
21
.github/workflows/rewrite.yml
vendored
21
.github/workflows/rewrite.yml
vendored
|
@ -24,6 +24,8 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# Skip build with [ci skip] in commit
|
||||||
|
if: "! contains(github.event.head_commit.message, '[ci skip]')"
|
||||||
container:
|
container:
|
||||||
image: devkitpro/devkita64
|
image: devkitpro/devkita64
|
||||||
steps:
|
steps:
|
||||||
|
@ -104,3 +106,22 @@ jobs:
|
||||||
# name: nxdumptool-rewrite-${{ env.nxdt_commit }}-WIP_UI.elf
|
# name: nxdumptool-rewrite-${{ env.nxdt_commit }}-WIP_UI.elf
|
||||||
# path: nxdumptool/nxdumptool.elf
|
# path: nxdumptool/nxdumptool.elf
|
||||||
# if-no-files-found: error
|
# if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Upload artifact to prerelease
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
# only update on prerelease
|
||||||
|
prerelease: True
|
||||||
|
tag: "rewrite-prerelease"
|
||||||
|
updateOnlyUnreleased: True
|
||||||
|
# remove old artifacts & replace with new ones
|
||||||
|
removeArtifacts: True
|
||||||
|
replacesArtifacts: True
|
||||||
|
# update preference
|
||||||
|
allowUpdates: True
|
||||||
|
omitBody: True
|
||||||
|
omitBodyDuringUpdate: True
|
||||||
|
omitNameDuringUpdate: True
|
||||||
|
artifacts: "nxdumptool/code_templates/tmp/nxdt_rw_poc.*"
|
||||||
|
#artifacts: "nxdumptool/code_templates/tmp/nxdt_rw_poc.*, nxdumptool/nxdumptool.*"
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue