Skip to content

Commit

Permalink
Update actions, add .NET 9 support and reenable artifact uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
eXpl0it3r committed Nov 27, 2024
1 parent acbd027 commit 99e9c3d
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,21 @@ jobs:
fail-fast: false
matrix:
platform:
- { name: Linux, os: ubuntu-22.04 }
- { name: Linux, os: ubuntu-24.04 }
- { name: Windows VS2022, os: windows-2022 }
- { name: macOS, os: macos-13 }
- { name: macOS, os: macos-14 }
dotnet:
- { name: .NET 8, version: "8.0.x" }
- { name: .NET 9, version: "9.0.x" }

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET ${{ matrix.dotnet.version }} SDK
id: setup-dotnet
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet.version }}
- name: Enforce SDK Version
Expand All @@ -39,15 +40,15 @@ jobs:
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish
if: matrix.platform.name == 'Windows VS2022' && matrix.dotnet.name == '.NET 6'
if: matrix.platform.name == 'Windows VS2022' && matrix.dotnet.name == '.NET 8'
run: |
dotnet publish --runtime win10-x64 --no-self-contained --configuration Release -p:DebugType=None -p:DebugSymbols=false -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true -o Publish
dotnet publish --runtime win-x64 --no-self-contained --configuration Release -p:DebugType=None -p:DebugSymbols=false -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true -o Publish
cp ./Start.cmd ./Publish
cp ./README.md ./Publish
cp ./CHANGELOG.md ./Publish
- name: Upload Artifact
if: matrix.platform.name == 'Windows VS2022' && matrix.dotnet.name == '.NET 6'
uses: actions/upload-artifact@v3
if: matrix.platform.name == 'Windows VS2022' && matrix.dotnet.name == '.NET 8'
uses: actions/upload-artifact@v4
with:
name: PIN-${{ github.sha }}
path: Publish

0 comments on commit 99e9c3d

Please sign in to comment.