diff --git a/.github/workflows/check-clang-format.yml b/.github/workflows/check-clang-format.yml index 34459e6f..b95b40b4 100644 --- a/.github/workflows/check-clang-format.yml +++ b/.github/workflows/check-clang-format.yml @@ -126,7 +126,7 @@ jobs: if: > always() && steps.check.outcome == 'failure' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: path: ${{ env.WORKING_FOLDER }}/expected/.clang-format if-no-files-found: error @@ -194,7 +194,7 @@ jobs: if: > always() && steps.check.outcome == 'failure' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: path: ${{ env.WORKING_FOLDER }}/output if-no-files-found: error @@ -252,7 +252,7 @@ jobs: OUTPUT_PATH="${{ env.CONVERSION_OUTPUT_PATH }}" - name: Save conversion to a workflow artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: path: ${{ env.CONVERSION_OUTPUT_PATH }} if-no-files-found: error diff --git a/.github/workflows/sync-labels-npm.yml b/.github/workflows/sync-labels-npm.yml index 8678a798..aeb64b9e 100644 --- a/.github/workflows/sync-labels-npm.yml +++ b/.github/workflows/sync-labels-npm.yml @@ -83,7 +83,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: ${{ matrix.filename }} if-no-files-found: error diff --git a/.github/workflows/test-install-script.yml b/.github/workflows/test-install-script.yml index cf6e3725..a6cd504a 100644 --- a/.github/workflows/test-install-script.yml +++ b/.github/workflows/test-install-script.yml @@ -54,7 +54,7 @@ jobs: "${{ env.SCRIPT_FOLDER }}/${{ env.SCRIPT_NAME }}" - name: Save configured script as workflow artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: if-no-files-found: error path: ${{ env.SCRIPT_FOLDER }}/${{ env.SCRIPT_NAME }} diff --git a/workflow-templates/check-go-dependencies-task.yml b/workflow-templates/check-go-dependencies-task.yml index 32affe01..0417e479 100644 --- a/workflow-templates/check-go-dependencies-task.yml +++ b/workflow-templates/check-go-dependencies-task.yml @@ -110,7 +110,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/workflow-templates/check-npm-dependencies-task.yml b/workflow-templates/check-npm-dependencies-task.yml index 932a60cb..818f2316 100644 --- a/workflow-templates/check-npm-dependencies-task.yml +++ b/workflow-templates/check-npm-dependencies-task.yml @@ -121,7 +121,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/workflow-templates/publish-go-nightly-task.yml b/workflow-templates/publish-go-nightly-task.yml index b4dfe74d..81275104 100644 --- a/workflow-templates/publish-go-nightly-task.yml +++ b/workflow-templates/publish-go-nightly-task.yml @@ -65,7 +65,7 @@ jobs: github.com/go-task/task/v3/cmd/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 }} @@ -201,7 +201,7 @@ jobs: echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >>$GITHUB_ENV - 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/workflow-templates/publish-go-tester-task.yml b/workflow-templates/publish-go-tester-task.yml index efa1df23..eb47dfa1 100644 --- a/workflow-templates/publish-go-tester-task.yml +++ b/workflow-templates/publish-go-tester-task.yml @@ -131,7 +131,7 @@ jobs: # Transfer builds to artifacts job - name: Upload build artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: path: ${{ env.DIST_DIR }}/${{ matrix.os.path }} name: ${{ matrix.os.artifact-name }} @@ -164,7 +164,7 @@ jobs: done - name: Upload checksum artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: path: ./*checksums.txt name: checksums diff --git a/workflow-templates/release-go-crosscompile-task.yml b/workflow-templates/release-go-crosscompile-task.yml index 9258ff7b..8b99f5cc 100644 --- a/workflow-templates/release-go-crosscompile-task.yml +++ b/workflow-templates/release-go-crosscompile-task.yml @@ -72,7 +72,7 @@ jobs: github.com/go-task/task/v3/cmd/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 }} @@ -204,7 +204,7 @@ jobs: "${{ env.BUILD_FOLDER }}/" - 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/workflow-templates/release-go-task.yml b/workflow-templates/release-go-task.yml index 239169ec..49f00b4b 100644 --- a/workflow-templates/release-go-task.yml +++ b/workflow-templates/release-go-task.yml @@ -72,7 +72,7 @@ jobs: github.com/go-task/task/v3/cmd/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 }} @@ -204,7 +204,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/workflow-templates/sync-labels-npm.yml b/workflow-templates/sync-labels-npm.yml index 8678a798..aeb64b9e 100644 --- a/workflow-templates/sync-labels-npm.yml +++ b/workflow-templates/sync-labels-npm.yml @@ -83,7 +83,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: ${{ matrix.filename }} if-no-files-found: error diff --git a/workflow-templates/sync-labels.yml b/workflow-templates/sync-labels.yml index b757db61..92ddefe3 100644 --- a/workflow-templates/sync-labels.yml +++ b/workflow-templates/sync-labels.yml @@ -73,7 +73,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: ${{ matrix.filename }} if-no-files-found: error