From 497fbce84a26064302257e842cf9875ad4b3954f Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 2 Apr 2026 17:56:28 -0700 Subject: [PATCH] [release/v7.5.6] Bump actions/upload-artifact from 6 to 7 (#27157) --- .github/workflows/macos-ci.yml | 4 ++-- .github/workflows/scorecards.yml | 4 ++-- .github/workflows/windows-packaging-reusable.yml | 4 ++-- .github/workflows/xunit-tests.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/macos-ci.yml b/.github/workflows/macos-ci.yml index 6633cd0467..917ed63315 100644 --- a/.github/workflows/macos-ci.yml +++ b/.github/workflows/macos-ci.yml @@ -226,7 +226,7 @@ jobs: testResultsFolder: "${{ runner.workspace }}/testResults" - name: Upload package artifact if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: macos-package path: "*.pkg" @@ -242,4 +242,4 @@ jobs: if: always() uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@v1.0.0 with: - needs_context: ${{ toJson(needs) }} + needs_context: ${{ toJson(needs) }} \ No newline at end of file diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 90ac8e0b76..23e47f8bda 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -59,7 +59,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: name: SARIF file path: results.sarif @@ -69,4 +69,4 @@ jobs: - name: "Upload to code-scanning" uses: github/codeql-action/upload-sarif@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 with: - sarif_file: results.sarif + sarif_file: results.sarif \ No newline at end of file diff --git a/.github/workflows/windows-packaging-reusable.yml b/.github/workflows/windows-packaging-reusable.yml index 6b42a8899e..77a207217a 100644 --- a/.github/workflows/windows-packaging-reusable.yml +++ b/.github/workflows/windows-packaging-reusable.yml @@ -81,9 +81,9 @@ jobs: - name: Upload Build Artifacts if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: windows-packaging-${{ matrix.architecture }}-${{ matrix.channel }} path: | ${{ github.workspace }}/artifacts/**/* - !${{ github.workspace }}/artifacts/**/*.pdb + !${{ github.workspace }}/artifacts/**/*.pdb \ No newline at end of file diff --git a/.github/workflows/xunit-tests.yml b/.github/workflows/xunit-tests.yml index 8bf5fd699d..e16b9fa068 100644 --- a/.github/workflows/xunit-tests.yml +++ b/.github/workflows/xunit-tests.yml @@ -46,8 +46,8 @@ jobs: Write-Host "Completed xUnit test run." - name: Upload xUnit results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: always() with: name: ${{ inputs.test_results_artifact_name }} - path: ${{ github.workspace }}/xUnitTestResults.xml + path: ${{ github.workspace }}/xUnitTestResults.xml \ No newline at end of file