mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-04-23 13:05:17 +00:00
Use matrix.os.extraArgs for specifying -r win-x64
This commit is contained in:
parent
47896e3d7f
commit
6e14e958d6
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -14,8 +14,8 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- { prettyName: Windows, configurationName: Windows, platform: win-x64 }
|
||||
- { prettyName: Linux, configurationName: Linux, platform: linux-x64 }
|
||||
- { prettyName: Windows, configurationName: Windows, extraArgs: "-r win-x64" }
|
||||
- { prettyName: Linux, configurationName: Linux, extraArgs: "" }
|
||||
# - { prettyName: MacOS, configurationName: Release, platform: osx-x64 }
|
||||
steps:
|
||||
- name: Cancel previous runs of this workflow
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
dotnet-version: "5.0.x"
|
||||
|
||||
- name: Compile for ${{ matrix.os.prettyName }}
|
||||
run: dotnet publish -c ${{ matrix.os.configurationName }} -r ${{ matrix.os.platform }}
|
||||
run: dotnet publish -c ${{ matrix.os.configurationName }} ${{ matrix.os.extraArgs }}
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue