From 24b0a67b8dcceab86dceec67c99e558b9dcb311e Mon Sep 17 00:00:00 2001 From: Matthias Twardawski Date: Fri, 2 Feb 2024 10:49:35 +0100 Subject: [PATCH] Update github action upload-artifact to version 4.3.0 and download-artifact to version 4.1.1 --- .github/workflows/job-build-carl.yaml | 2 +- .github/workflows/job-build-cleo.yaml | 2 +- .github/workflows/job-build-edgar.yaml | 2 +- .github/workflows/job-build-lea.yaml | 2 +- .github/workflows/job-build-theo.yaml | 2 +- .github/workflows/job-bundle-carl.yaml | 8 ++++---- .github/workflows/job-bundle-cleo.yaml | 6 +++--- .github/workflows/job-bundle-edgar.yaml | 6 +++--- .github/workflows/job-legal.yaml | 2 +- .github/workflows/job-publish-release.yaml | 2 +- .github/workflows/job-run-testenv.yaml | 10 +++++----- .github/workflows/job-sbom.yaml | 2 +- .github/workflows/job-test.yaml | 2 +- 13 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/job-build-carl.yaml b/.github/workflows/job-build-carl.yaml index 066364cb5..060d6eff1 100644 --- a/.github/workflows/job-build-carl.yaml +++ b/.github/workflows/job-build-carl.yaml @@ -29,7 +29,7 @@ jobs: - name: Build run: cargo ci opendut-carl build --target=${{ matrix.package.target }} - name: Upload Artifacts - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: "${{ matrix.package.name }}-${{ matrix.package.target }}-${{ github.sha }}" path: "./target/ci/cross/${{ matrix.package.target }}/release/${{ matrix.package.name }}" diff --git a/.github/workflows/job-build-cleo.yaml b/.github/workflows/job-build-cleo.yaml index 6339c13cb..d7e5453d4 100644 --- a/.github/workflows/job-build-cleo.yaml +++ b/.github/workflows/job-build-cleo.yaml @@ -33,7 +33,7 @@ jobs: - name: Build run: cargo ci opendut-cleo build --target=${{ matrix.package.target }} - name: "Upload CLEO build artifact ${{ matrix.package.name }}-${{ matrix.package.target }}" - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: "${{ matrix.package.name }}-${{ matrix.package.target }}-${{ github.sha }}" path: "./target/ci/cross/${{ matrix.package.target }}/release/${{ matrix.package.name }}" diff --git a/.github/workflows/job-build-edgar.yaml b/.github/workflows/job-build-edgar.yaml index 0a35c3fe7..88324418f 100644 --- a/.github/workflows/job-build-edgar.yaml +++ b/.github/workflows/job-build-edgar.yaml @@ -33,7 +33,7 @@ jobs: - name: Build run: cargo ci opendut-edgar build --target=${{ matrix.package.target }} - name: "Upload EDGAR build artifact ${{ matrix.package.name }}-${{ matrix.package.target }}" - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: "${{ matrix.package.name }}-${{ matrix.package.target }}-${{ github.sha }}" path: "./target/ci/cross/${{ matrix.package.target }}/release/${{ matrix.package.name }}" diff --git a/.github/workflows/job-build-lea.yaml b/.github/workflows/job-build-lea.yaml index 43fdcbed0..bf949c400 100644 --- a/.github/workflows/job-build-lea.yaml +++ b/.github/workflows/job-build-lea.yaml @@ -23,7 +23,7 @@ jobs: - name: Build run: cargo ci opendut-lea build - name: "Upload LEA build artifact" - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: "opendut-lea-${{ github.sha }}" path: "./opendut-lea/dist" diff --git a/.github/workflows/job-build-theo.yaml b/.github/workflows/job-build-theo.yaml index ef832de4f..26ea114d6 100644 --- a/.github/workflows/job-build-theo.yaml +++ b/.github/workflows/job-build-theo.yaml @@ -25,7 +25,7 @@ jobs: - name: Build run: cargo ci opendut-theo build --target=${{ matrix.package.target }} - name: "Upload theo build artifact ${{ matrix.package.name }}-${{ matrix.package.target }}" - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: "${{ matrix.package.name }}-${{ matrix.package.target }}-${{ github.sha }}" path: "./target/ci/cross/${{ matrix.package.target }}/release/${{ matrix.package.name }}" diff --git a/.github/workflows/job-bundle-carl.yaml b/.github/workflows/job-bundle-carl.yaml index a559ea516..fcff21700 100644 --- a/.github/workflows/job-bundle-carl.yaml +++ b/.github/workflows/job-bundle-carl.yaml @@ -39,17 +39,17 @@ jobs: VERSION=$(cargo metadata --format-version=1 --no-deps | jq -r '.packages[0].version') echo "OPENDUT_CARL_VERSION=${VERSION}" >> $GITHUB_OUTPUT - name: Download opendut-carl - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "${{ matrix.package.name }}-${{ matrix.package.target }}-${{ github.sha }}" path: "./target/ci/distribution/${{ matrix.package.target }}/${{ matrix.package.name }}/" - name: Download opendut-lea - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "opendut-lea-${{ github.sha }}" path: "./target/ci/distribution/${{ matrix.package.target }}/${{ matrix.package.name }}/opendut-lea" - name: Download licenses - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "licenses-${{ github.sha }}" path: "./target/ci/licenses" @@ -62,7 +62,7 @@ jobs: - name: Validate distribution contents run: cargo ci opendut-carl distribution-validate-contents --target=${{ matrix.package.target }} - name: "Upload CARL bundle artifact ${{ matrix.package.name }}-${{ matrix.package.target }}" - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: "${{ matrix.package.name }}-${{ matrix.package.target }}-${{ github.sha }}.tar.gz" path: "./target/ci/distribution/${{ matrix.package.target }}/" diff --git a/.github/workflows/job-bundle-cleo.yaml b/.github/workflows/job-bundle-cleo.yaml index 359258a1e..6e3f1bf44 100644 --- a/.github/workflows/job-bundle-cleo.yaml +++ b/.github/workflows/job-bundle-cleo.yaml @@ -27,12 +27,12 @@ jobs: uses: ./.github/actions/rust-setup - name: Download opendut-cleo - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "${{ matrix.package.name }}-${{ matrix.package.target }}-${{ github.sha }}" path: "./target/ci/distribution/${{ matrix.package.target }}/${{ matrix.package.name }}/" - name: Download licenses - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "licenses-${{ github.sha }}" path: "./target/ci/licenses" @@ -45,7 +45,7 @@ jobs: - name: Validate distribution contents run: cargo ci opendut-cleo distribution-validate-contents --target=${{ matrix.package.target }} - name: "Upload CLEO bundle artifact ${{ matrix.package.name }}-${{ matrix.package.target }}.tar.gz" - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: "${{ matrix.package.name }}-${{ matrix.package.target }}-${{ github.sha }}.tar.gz" path: "./target/ci/distribution/${{ matrix.package.target }}/" diff --git a/.github/workflows/job-bundle-edgar.yaml b/.github/workflows/job-bundle-edgar.yaml index f27aad5f8..7f6fcdc22 100644 --- a/.github/workflows/job-bundle-edgar.yaml +++ b/.github/workflows/job-bundle-edgar.yaml @@ -27,14 +27,14 @@ jobs: uses: ./.github/actions/rust-setup - name: Download opendut-edgar - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "${{ matrix.package.name }}-${{ matrix.package.target }}-${{ github.sha }}" path: "./target/ci/distribution/${{ matrix.package.target }}/${{ matrix.package.name }}/" - name: Download Netbird Client run: cargo ci opendut-edgar distribution-netbird-client --target=${{ matrix.package.target }} - name: Download licenses - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "licenses-${{ github.sha }}" path: "./target/ci/licenses" @@ -47,7 +47,7 @@ jobs: - name: Validate distribution contents run: cargo ci opendut-edgar distribution-validate-contents --target=${{ matrix.package.target }} - name: "Upload EDGAR bundle artifact ${{ matrix.package.name }}-${{ matrix.package.target }}.tar.gz" - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: "${{ matrix.package.name }}-${{ matrix.package.target }}-${{ github.sha }}.tar.gz" path: "./target/ci/distribution/${{ matrix.package.target }}/" diff --git a/.github/workflows/job-legal.yaml b/.github/workflows/job-legal.yaml index fb6d82e65..b03e6cdd2 100644 --- a/.github/workflows/job-legal.yaml +++ b/.github/workflows/job-legal.yaml @@ -24,7 +24,7 @@ jobs: - name: Generate License JSON Report run: cargo ci licenses json - name: Upload licenses artifact - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: "licenses-${{ github.sha }}" path: "./target/ci/licenses" diff --git a/.github/workflows/job-publish-release.yaml b/.github/workflows/job-publish-release.yaml index bc2e5aee2..aab30dc58 100644 --- a/.github/workflows/job-publish-release.yaml +++ b/.github/workflows/job-publish-release.yaml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - name: Download Artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: pattern: "./target/ci/distribution/*/*-${{ github.sha }}.tar.gz" # all packages from all targets diff --git a/.github/workflows/job-run-testenv.yaml b/.github/workflows/job-run-testenv.yaml index 3e61d66bf..6e532f5f9 100644 --- a/.github/workflows/job-run-testenv.yaml +++ b/.github/workflows/job-run-testenv.yaml @@ -24,24 +24,24 @@ jobs: uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - name: Download opendut-CARL bundle - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "opendut-carl-x86_64-unknown-linux-gnu-${{ github.sha }}.tar.gz" path: "./target/ci/distribution/x86_64-unknown-linux-gnu/" - name: Download opendut-EDGAR bundle - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "opendut-edgar-x86_64-unknown-linux-gnu-${{ github.sha }}.tar.gz" path: "./target/ci/distribution/x86_64-unknown-linux-gnu/" - name: Download opendut-CLEO bundle - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "opendut-cleo-x86_64-unknown-linux-gnu-${{ github.sha }}.tar.gz" path: "./target/ci/distribution/x86_64-unknown-linux-gnu/" - name: Download opendut-THEO artifact - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: "opendut-theo-x86_64-unknown-linux-gnu-${{ github.sha }}" path: "./opendut-theo" @@ -80,7 +80,7 @@ jobs: - name: "Upload docker logs" if: always() - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: "docker-logs-${{ github.sha }}" path: "./docker-logs/" diff --git a/.github/workflows/job-sbom.yaml b/.github/workflows/job-sbom.yaml index 40805b3a6..056161820 100644 --- a/.github/workflows/job-sbom.yaml +++ b/.github/workflows/job-sbom.yaml @@ -23,7 +23,7 @@ jobs: run: cargo ci licenses sbom shell: bash - name: Upload sbom artifact - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: opendut-sbom path: ./target/ci/sbom/ diff --git a/.github/workflows/job-test.yaml b/.github/workflows/job-test.yaml index df92bf170..5595fbd11 100644 --- a/.github/workflows/job-test.yaml +++ b/.github/workflows/job-test.yaml @@ -29,7 +29,7 @@ jobs: mv lcov.info ./coverage/coverage.lcov.info shell: bash - name: Upload coverage artifact - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: opendut-coverage path: ./coverage