File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ name: Build and Release Binaries
22
33on :
44 release :
5- types : [published] # Triggers only when you publish a release (not on draft/pre-release)
5+ types : [published]
66
77jobs :
88 build :
9- runs-on : ubuntu-latest # Can build both Linux and Windows binaries from Ubuntu runner
9+ runs-on : ubuntu-latest
1010 strategy :
1111 matrix :
12- rid : [linux-x64, win-x64] # Add 'osx-x64' or 'linux-arm64' here if desired
12+ rid : [linux-x64, win-x64]
1313
1414 steps :
1515 - name : Checkout code
1818 - name : Setup .NET 10
1919 uses : actions/setup-dotnet@v4
2020 with :
21- dotnet-version : ' 10.0.x' # Will use the latest .NET 10 SDK
21+ dotnet-version : ' 10.0.x'
2222
2323 - name : Restore dependencies
2424 run : dotnet restore
2929 -r ${{ matrix.rid }} \
3030 --self-contained true \
3131 /p:PublishSingleFile=true \
32- /p:IncludeNativeLibrariesForSelfExtract=true # Recommended for better single-file behavior on Linux
32+ /p:IncludeNativeLibrariesForSelfExtract=true \
3333 --output ./publish/${{ matrix.rid }}
3434
3535 - name : Upload binaries to release
You can’t perform that action at this time.
0 commit comments