From 66ac4ffe5d9cea4033f4a4a377012ba67135e920 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Dec 2023 02:30:18 +0000 Subject: [PATCH] Upgrade both upload-artifact and download-artifact to v4 (they work in concert) build(deps): bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/ci.yml | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0dd4f8f..74805a27 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,7 +57,7 @@ jobs: VERSION: ${{ needs.set-version-number.outputs.nuGetVersion }} - name: Upload published tool artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ needs.set-version-number.outputs.is-release == 'true' }} with: name: grate-dotnet-tool-${{ needs.set-version-number.outputs.nuGetVersion }} @@ -128,7 +128,7 @@ jobs: - name: Upload self-contained ${{ matrix.arch }} #if: ${{ needs.set-version-number.outputs.is-release == 'true' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: grate-${{ matrix.arch }}-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }} path: ./publish/${{ matrix.arch }}/self-contained/* @@ -163,7 +163,7 @@ jobs: - name: Upload self-contained ${{ matrix.arch }} #if: ${{ needs.set-version-number.outputs.is-release == 'true' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: grate-${{ matrix.arch }}-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }} path: ./publish/${{ matrix.arch }}/self-contained/* @@ -182,7 +182,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: grate-${{ matrix.arch }}-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }} path: ${{ matrix.arch }}/ @@ -194,7 +194,7 @@ jobs: VERSION: ${{ needs.set-version-number.outputs.nuGetVersion }} - name: Upload MSI ${{ matrix.arch }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: grate-msi-${{ matrix.arch }}-${{ needs.set-version-number.outputs.nuGetVersion }} path: ./installers/msi/tmp/*.msi @@ -213,7 +213,7 @@ jobs: steps: - uses: actions/checkout@v4 - # - uses: actions/download-artifact@v3 # download from another artifact is not a good idea, we need to build directly from source + # - uses: actions/download-artifact@v4 # download from another artifact is not a good idea, we need to build directly from source # with: # name: grate-linux-musl-x64-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }} # path: installers/docker/ @@ -261,7 +261,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: grate-${{ matrix.arch }}-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }} path: ${{ matrix.arch }}/ @@ -279,7 +279,7 @@ jobs: VERSION: ${{ needs.set-version-number.outputs.nuGetVersion }} - name: Upload .dpkg ${{ steps.get-arch.outputs.arch }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: grate_${{ needs.set-version-number.outputs.nuGetVersion }}-1_${{ steps.get-arch.outputs.arch}}.deb path: ./installers/deb/grate_${{ needs.set-version-number.outputs.nuGetVersion }}-1_${{ steps.get-arch.outputs.arch }}.deb @@ -352,7 +352,7 @@ jobs: runs-on: ${{ matrix.os.name }} steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: grate-${{ matrix.os.arch }}-self-contained-${{ needs.set-version-number.outputs.nuGetVersion }} path: executables/${{ matrix.os.arch }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad665355..c6e74afe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,7 +91,7 @@ jobs: - name: Upload Unit Test Results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "${{ matrix.category }} XML test results" path: | @@ -106,7 +106,7 @@ jobs: steps: - name: Download XML test reports - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: test-results @@ -150,7 +150,7 @@ jobs: /tmp/smink/smink "${XML_DIR}/*.xml" "${REPORT_DIR}/test-report.html" --title "grate unit tests" - name: Upload HTML test report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: HTML test report path: |