Skip to content

Commit

Permalink
ci: fix build yaml
Browse files Browse the repository at this point in the history
References: Eppie-io#332
  • Loading branch information
al-kau committed Sep 19, 2024
1 parent 1e1ca07 commit 1f20752
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:

needs: prepare
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -90,18 +91,18 @@ jobs:
if: matrix.build.tool == 'dotnet'
shell: bash
run: |
project=${{ matrix.project }}
configuration=${{ matrix.build.configuration }}
extra_options=${{ matrix.build.extra }}
project='${{ matrix.project }}'
configuration='${{ matrix.build.configuration }}'
extra_options='${{ matrix.build.extra }}'
dotnet build --configuration=$configuration $extra_options $project
- name: Build via msbuild
if: matrix.build.tool == 'msbuild' && runner.os == 'Windows'
shell: pwsh
run: |
$project=${{ matrix.project }}
$configuration=${{ matrix.build.configuration }}
$extra_options=${{ matrix.build.extra }}
$project='${{ matrix.project }}'
$configuration='${{ matrix.build.configuration }}'
$extra_options='${{ matrix.build.extra }}'
msbuild --target:Rebuild -restore:True -property:Configuration=$configuration $extra_options $project

0 comments on commit 1f20752

Please sign in to comment.