Skip to content

Commit 141c319

Browse files
committed
also build linux builds
1 parent 55b82db commit 141c319

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@ on: [workflow_call]
44

55
jobs:
66
build:
7-
runs-on: windows-latest
7+
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10+
target-runtime: [linux-x64, win-x64]
1011
configuration: [Debug, Release]
1112

12-
name: Z64Utils-${{ matrix.configuration }}
13+
name: Z64Utils-${{ matrix.target-runtime }}-${{ matrix.configuration }}
1314
env:
1415
DOTNET_CLI_TELEMETRY_OPTOUT: true
15-
restore_args: ''
16+
restore_args: --runtime ${{ matrix.target-runtime }}
1617
build_args: --no-self-contained --configuration ${{ matrix.configuration }} --version-suffix ${{ github.sha }} --property:IncludeSourceRevisionInInformationalVersion=false
17-
archive_name: Z64Utils-${{ matrix.configuration }}-${{ github.sha }}
18+
archive_name: Z64Utils-${{ matrix.target-runtime }}-${{ matrix.configuration }}-${{ github.sha }}
1819
steps:
1920
- uses: actions/checkout@v4
2021
with:

0 commit comments

Comments
 (0)