Skip to content
Merged
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
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

Expand Down Expand Up @@ -118,15 +118,15 @@ jobs:
Compress-Archive -Path (Join-Path $publishDir "*") -DestinationPath $zipPath -Force

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: RightMgr-${{ matrix.rid }}
path: dist/RightMgr-${{ matrix.rid }}.zip
if-no-files-found: error

- name: Upload release asset
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release'
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
files: dist/RightMgr-${{ matrix.rid }}.zip

Expand All @@ -136,10 +136,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

Expand Down Expand Up @@ -205,15 +205,15 @@ jobs:
Compress-Archive -Path (Join-Path $publishDir "*") -DestinationPath $zipPath -Force

- name: Upload framework-dependent artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: RightMgr-win-x64-framework-dependent
path: dist/RightMgr-win-x64-framework-dependent.zip
if-no-files-found: error

- name: Upload framework-dependent release asset
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release'
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
files: dist/RightMgr-win-x64-framework-dependent.zip

Expand All @@ -223,10 +223,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

Expand Down Expand Up @@ -291,14 +291,14 @@ jobs:
Copy-Item -LiteralPath $sourcePath -Destination $assetPath -Force

- name: Upload single-file artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: RightMgr-win-x64-single
path: dist/RightMgr.exe
if-no-files-found: error

- name: Upload single-file release asset
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release'
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
files: dist/RightMgr.exe
Loading