From 6e14e958d6d701c59eae74874281df8b0572f3f4 Mon Sep 17 00:00:00 2001 From: jvyden Date: Thu, 28 Oct 2021 15:57:49 -0400 Subject: [PATCH] Use matrix.os.extraArgs for specifying -r win-x64 --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6997dc6..9fc4546 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: