Skip to content

Commit

Permalink
[gh actions] repair artifacts upload/download/release (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter authored Dec 20, 2023
1 parent faef1da commit 0def7ab
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ jobs:
continue-on-error: true

- name: download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: EmuFlight-Blackbox-Explorer-${{ github.ACTOR }}-${{ github.RUN_NUMBER }}
path: ./Artifacts
continue-on-error: false

- name: list artifacts
run: |
ls -lh ./*.???
ls -lh ./Artifacts/*.???
continue-on-error: true

# Draft Dev-Unstable releases via ncipollo/release-action
Expand All @@ -177,7 +177,7 @@ jobs:
draft: true
prerelease: true
allowUpdates: true
artifacts: ./emuflight-blackbox-explorer*.???
artifacts: ./Artifacts/emuflight-blackbox-explorer*.???
artifactContentType: raw
name: "DEV-UNSTABLE EmuFlight-Blackbox-Explorer / Build ${{ github.run_number }}"
body: |
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
draft: true
prerelease: true
allowUpdates: true
artifacts: ./emuflight-blackbox-explorer*.???
artifacts: ./Artifacts/emuflight-blackbox-explorer*.???
artifactContentType: raw
name: "DEV-MASTER EmuFlight-Blackbox-Explorer / Build ${{ github.run_number }}"
body: |
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
allowUpdates: true
# tag: use the build Number, but we MUST manually change to version so that it creates a version-tag on release
tag: "${{ github.RUN_NUMBER }}"
artifacts: ./emuflight-blackbox-explorer*.???
artifacts: ./Artifacts/emuflight-blackbox-explorer*.???
artifactContentType: raw
name: "DRAFT / EmuFlight-Blackbox-Explorer / GitHub Build ${{ github.RUN_NUMBER }}"
body: |
Expand Down

0 comments on commit 0def7ab

Please sign in to comment.