From 0def7ab83c8087c961420178ba35025bc36924ad Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Wed, 20 Dec 2023 11:08:14 -0600 Subject: [PATCH] [gh actions] repair artifacts upload/download/release (#37) --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71ee23f..8ac7b45 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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: | @@ -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: | @@ -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: |