Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/upload-artifact from 3 to 4 #3146

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-frontends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Upload binlog
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binlog
path: '**/*.binlog'
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/build-ilspy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
Tests3: ILSpy.BamlDecompiler.Tests\bin\${{ matrix.configuration }}\net8.0-windows\win-x64\ILSpy.BamlDecompiler.Tests.dll

- name: Upload Test Logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: test-results-${{ matrix.configuration }}
Expand Down Expand Up @@ -111,23 +111,23 @@ jobs:
# https://github.com/actions/upload-artifact
- name: Upload VSIX (VS 2019) release build artifacts
if: matrix.configuration == 'release'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
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
if-no-files-found: error

- name: Upload VSIX (VS 2022) release build artifacts
if: matrix.configuration == 'release'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
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
if-no-files-found: error

- name: Upload Decompiler NuGet release build artifacts
if: matrix.configuration == 'release'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ICSharpCode.Decompiler NuGet Package (${{ matrix.configuration }})
path: ICSharpCode.Decompiler\bin\Release\ICSharpCode.Decompiler*.nupkg
Expand All @@ -140,7 +140,7 @@ jobs:

- name: Upload ILSpyX NuGet release build artifacts
if: matrix.configuration == 'release'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ICSharpCode.ILSpyX NuGet Package (${{ matrix.configuration }})
path: ICSharpCode.ILSpyX\bin\Release\ICSharpCode.ILSpyX*.nupkg
Expand All @@ -152,47 +152,47 @@ jobs:
dotnet nuget push "ICSharpCode.ILSpyX\bin\Release\ICSharpCode.ILSpyX*.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@v3
uses: actions/upload-artifact@v4
with:
name: ILSpy ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }})
path: ${{ env.StagingDirectory }}\ILSpy_binaries.zip
if-no-files-found: error

- name: Upload x64 self-contained zip (Release-only)
if: matrix.configuration == 'release'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ILSpy self-contained x64 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }})
path: ${{ env.StagingDirectory }}\ILSpy_selfcontained_x64.zip
if-no-files-found: error

- name: Upload arm64 framework-dependent zip (Release-only)
if: matrix.configuration == 'release'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ILSpy arm64 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }})
path: ${{ env.StagingDirectory }}\ILSpy_binaries_arm64.zip
if-no-files-found: error

- name: Upload x64 installer artifact
if: matrix.configuration == 'release'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ILSpy Installer x64 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }})
path: ILSpy.Installer\wix\*-x64.msi
if-no-files-found: error

- name: Upload arm64 installer artifact
if: matrix.configuration == 'release'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ILSpy Installer arm64 ${{ steps.version.outputs.ILSPY_VERSION_NUMBER }} (${{ matrix.configuration }})
path: ILSpy.Installer\wix\*-arm64.msi
if-no-files-found: error

- name: Upload ilspycmd release build artifacts
if: matrix.configuration == 'release'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ilspycmd dotnet tool (${{ matrix.configuration }})
path: ICSharpCode.ILSpyCmd\bin\Release\ilspycmd*.nupkg
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-bom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: dotnet CycloneDX ILSpy/ILSpy.csproj --out sbom --recursive --exclude-dev --exclude-test-projects

- name: Upload BOM
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ILSpyBOM.xml
path: sbom/bom.xml
Expand Down
Loading