From: Remi Gacogne Date: Mon, 8 Jan 2024 16:14:20 +0000 (+0100) Subject: ci: Update upload-artifact and download-artifact to version 4 X-Git-Tag: auth-4.8.5~1^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04ac3aa88e25de57c37f2c7c7e96419314d13f3d;p=thirdparty%2Fpdns.git ci: Update upload-artifact and download-artifact to version 4 --- diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index 9f552240fc..1e80c83f7d 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -82,7 +82,7 @@ jobs: - run: ccache -s - run: echo "normalized-branch-name=${{ inputs.branch-name || github.ref_name }}" | tr "/" "-" >> "$GITHUB_ENV" - name: Store the binaries - uses: actions/upload-artifact@v3 # this takes 30 seconds, maybe we want to tar + uses: actions/upload-artifact@v4 # this takes 30 seconds, maybe we want to tar with: name: pdns-auth-${{ env.normalized-branch-name }} path: /opt/pdns-auth @@ -129,7 +129,7 @@ jobs: ref: ${{ inputs.branch-name }} - run: echo "normalized-branch-name=${{ inputs.branch-name || github.ref_name }}" | tr "/" "-" >> "$GITHUB_ENV" - name: Fetch the binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pdns-auth-${{ env.normalized-branch-name }} path: /opt/pdns-auth @@ -241,7 +241,7 @@ jobs: ref: ${{ inputs.branch-name }} - run: echo "normalized-branch-name=${{ inputs.branch-name || github.ref_name }}" | tr "/" "-" >> "$GITHUB_ENV" - name: Fetch the binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pdns-auth-${{ env.normalized-branch-name }} path: /opt/pdns-auth @@ -268,7 +268,7 @@ jobs: ref: ${{ inputs.branch-name }} - run: echo "normalized-branch-name=${{ inputs.branch-name || github.ref_name }}" | tr "/" "-" >> "$GITHUB_ENV" - name: Fetch the binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pdns-auth-${{ env.normalized-branch-name }} path: /opt/pdns-auth diff --git a/.github/workflows/builder-dispatch.yml b/.github/workflows/builder-dispatch.yml index e62a8ef890..864082b787 100644 --- a/.github/workflows/builder-dispatch.yml +++ b/.github/workflows/builder-dispatch.yml @@ -69,7 +69,7 @@ jobs: run: 'echo ::set-output name=version::$(readlink builder/tmp/latest)' id: getversion - name: Upload packages as GH artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ github.event.inputs.product }}-${{ matrix.os }}-${{ steps.getversion.outputs.version }} path: built_pkgs/ diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index c19ea2b6c7..35a990e912 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -45,7 +45,7 @@ jobs: echo "version=$(readlink builder/tmp/latest)" >> $GITHUB_OUTPUT id: getversion - name: Upload packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.product }}-${{ matrix.os }}-${{ steps.getversion.outputs.version }} path: built_pkgs/ diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index c93ed0ef87..fc3317e540 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -20,7 +20,7 @@ jobs: fuzz-seconds: 600 dry-run: false - name: Upload Crash - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: artifacts