Skip to content

Commit

Permalink
Update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Smalls1652 committed Mar 17, 2024
1 parent 5337aa3 commit 50bcec3
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ jobs:
strategy:
matrix:
project: [
"./src/Lib"
]
target-framwork: [
"net8.0",
"netstandard2.0",
"./src/Lib",
"./src/Pwsh"
]
env:
DOTNET_NOLOGO: true
Expand All @@ -35,5 +32,13 @@ jobs:
with:
global-json-file: global.json

- name: Run 'dotnet build'
run: dotnet build ${{ matrix.project }} --configuration Release --framework ${{ matrix.target-framwork }}
- name: "Lib: Run 'dotnet build'"
if: matrix.project == './src/Lib'
run: |
dotnet build ${{ matrix.project }} --configuration Release --framework net8.0;
dotnet build ${{ matrix.project }} --configuration Release --framework netstandard2.0
- name: "Pwsh: Run 'dotnet build'"
if: matrix.project == './src/Pwsh'
run: |
dotnet build ${{ matrix.project }} --configuration Release --framework netstandard2.0

0 comments on commit 50bcec3

Please sign in to comment.