diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35251c5..01307de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,7 +61,7 @@ jobs: run: 7z a "${{ github.workspace }}/${{ env.BUILD_OUTPUT_DIRECTORY }}/archive/${{ env.EXECUTABLE_NAME }}_${{ runner.OS }}_amd64.zip" "${{ github.workspace }}/${{ env.BUILD_OUTPUT_DIRECTORY }}/${{ runner.OS }}_amd64/*" - name: Upload Workflow Artifact [GitHub Actions] - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ env.ARTIFACT_PREFIX }}${{ matrix.config.artifact-suffix }} # this makes the artifact a .zip of the .zip archive, which is currently necessary to preserve the executable file permissions diff --git a/.github/workflows/check-go-dependencies-task.yml b/.github/workflows/check-go-dependencies-task.yml index 3555c83..f41cf58 100644 --- a/.github/workflows/check-go-dependencies-task.yml +++ b/.github/workflows/check-go-dependencies-task.yml @@ -108,7 +108,7 @@ jobs: # Some might find it convenient to have CI generate the cache rather than setting up for it locally - name: Upload cache to workflow artifact if: failure() && steps.diff.outcome == 'failure' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: if-no-files-found: error include-hidden-files: true diff --git a/.github/workflows/release-go-task.yml b/.github/workflows/release-go-task.yml index 34983ea..1b9871a 100644 --- a/.github/workflows/release-go-task.yml +++ b/.github/workflows/release-go-task.yml @@ -68,7 +68,7 @@ jobs: run: task dist:${{ matrix.os.task }} - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: if-no-files-found: error name: ${{ env.ARTIFACT_PREFIX }}${{ matrix.os.artifact-suffix }} @@ -181,7 +181,7 @@ jobs: -C ../../ LICENSE.txt - name: Replace artifact with notarized build - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: if-no-files-found: error name: ${{ env.ARTIFACT_PREFIX }}${{ matrix.build.artifact-suffix }} diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index c35f2c8..0e0b594 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -71,7 +71,7 @@ jobs: file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }} - name: Pass configuration files to next job via workflow artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: path: | *.yaml