Skip to content

Commit

Permalink
Update github action upload-artifact to version 4.3.0 and download-ar…
Browse files Browse the repository at this point in the history
…tifact to version 4.1.1
  • Loading branch information
mtwardawski committed Feb 2, 2024
1 parent 8dab4a8 commit 24b0a67
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/job-build-carl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-build-cleo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-build-edgar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-build-lea.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-build-theo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/job-bundle-carl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 }}/"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/job-bundle-cleo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 }}/"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/job-bundle-edgar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 }}/"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-legal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/job-run-testenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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/"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-sbom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24b0a67

Please sign in to comment.