Skip to content

Commit 8a7e798

Browse files
committed
Fixed GitHub Actions release automation config
1 parent 6245fb3 commit 8a7e798

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Build and Release Binaries
22

33
on:
44
release:
5-
types: [published] # Triggers only when you publish a release (not on draft/pre-release)
5+
types: [published]
66

77
jobs:
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
@@ -18,7 +18,7 @@ jobs:
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
@@ -29,7 +29,7 @@ jobs:
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

0 commit comments

Comments
 (0)