diff --git a/.github/workflows/build-frontends.yml b/.github/workflows/build-frontends.yml index a68b22d60..52200d2c8 100644 --- a/.github/workflows/build-frontends.yml +++ b/.github/workflows/build-frontends.yml @@ -43,7 +43,7 @@ jobs: - name: Upload binlog if: always() - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: binlog path: '**/*.binlog' diff --git a/.github/workflows/build-ilspy.yml b/.github/workflows/build-ilspy.yml index 956b9d77a..27d1e4f3b 100644 --- a/.github/workflows/build-ilspy.yml +++ b/.github/workflows/build-ilspy.yml @@ -75,7 +75,7 @@ jobs: run: dotnet test --solution ilspy.sln --configuration ${{ matrix.configuration }} --no-build --report-trx --results-directory test-results/${{ matrix.configuration }} - name: Upload Test Logs - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 if: success() || failure() with: name: test-results-${{ matrix.configuration }} @@ -133,7 +133,7 @@ jobs: # https://github.com/actions/upload-artifact - name: Upload VSIX (VS 2019) release build artifacts if: matrix.configuration == 'release' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ILSpy VS Addin for VS 2017-2019 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }}) path: ILSpy.AddIn\bin\${{ matrix.configuration }}\net472\*.vsix @@ -141,7 +141,7 @@ jobs: - name: Upload VSIX (VS 2022) release build artifacts if: matrix.configuration == 'release' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ILSpy VS Addin for VS 2022 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }}) path: ILSpy.AddIn.VS2022\bin\${{ matrix.configuration }}\net472\*.vsix @@ -149,7 +149,7 @@ jobs: - name: Upload Decompiler NuGet release build artifacts if: matrix.configuration == 'release' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ICSharpCode.Decompiler NuGet Package (${{ matrix.configuration }}) path: ICSharpCode.Decompiler\bin\Release\ICSharpCode.Decompiler*.nupkg @@ -162,7 +162,7 @@ jobs: - name: Upload ILSpyX NuGet release build artifacts if: matrix.configuration == 'release' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ICSharpCode.ILSpyX NuGet Package (${{ matrix.configuration }}) path: ICSharpCode.ILSpyX\bin\Release\ICSharpCode.ILSpyX*.nupkg @@ -175,7 +175,7 @@ jobs: - name: Upload BamlDecompiler NuGet release build artifacts if: matrix.configuration == 'release' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ICSharpCode.BamlDecompiler NuGet Package (${{ matrix.configuration }}) path: ICSharpCode.BamlDecompiler\bin\Release\ICSharpCode.BamlDecompiler*.nupkg @@ -187,7 +187,7 @@ jobs: dotnet nuget push "ICSharpCode.BamlDecompiler\bin\Release\ICSharpCode.BamlDecompiler*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }} - name: Upload zip binaries build artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ILSpy ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }}) path: ${{ env.StagingDirectory }}\ILSpy_binaries.zip @@ -195,7 +195,7 @@ jobs: - name: Upload x64 self-contained zip (Release-only) if: matrix.configuration == 'release' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ILSpy self-contained x64 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }}) path: ${{ env.StagingDirectory }}\ILSpy_selfcontained_x64.zip @@ -203,7 +203,7 @@ jobs: - name: Upload arm64 framework-dependent zip (Release-only) if: matrix.configuration == 'release' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ILSpy arm64 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }}) path: ${{ env.StagingDirectory }}\ILSpy_binaries_arm64.zip @@ -211,7 +211,7 @@ jobs: - name: Upload x64 installer artifact if: matrix.configuration == 'release' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ILSpy Installer x64 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }}) path: ILSpy.Installer\wix\*-x64.msi @@ -219,7 +219,7 @@ jobs: - name: Upload arm64 installer artifact if: matrix.configuration == 'release' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ILSpy Installer arm64 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }}) path: ILSpy.Installer\wix\*-arm64.msi @@ -227,7 +227,7 @@ jobs: - name: Upload ilspycmd release build artifacts if: matrix.configuration == 'release' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ilspycmd dotnet tool (${{ matrix.configuration }}) path: ICSharpCode.ILSpyCmd\bin\Release\ilspycmd*.nupkg diff --git a/.github/workflows/generate-bom.yml b/.github/workflows/generate-bom.yml index 9e2afde98..e4605044e 100644 --- a/.github/workflows/generate-bom.yml +++ b/.github/workflows/generate-bom.yml @@ -26,7 +26,7 @@ jobs: run: dotnet-CycloneDX ILSpy/ILSpy.csproj --output sbom --recursive --exclude-dev --exclude-test-projects - name: Upload BOM - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ILSpyBOM.xml path: sbom/bom.xml diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index abe551f00..0644de95a 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -36,7 +36,7 @@ jobs: publish_results: true - name: "Upload artifact" - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: SARIF file path: results.sarif