Skip to content

Commit

Permalink
Merge pull request #175 from microsoft/fa
Browse files Browse the repository at this point in the history
Too fancy?
  • Loading branch information
chgeuer authored Aug 17, 2023
2 parents 565c9f0 + 75b1523 commit 2ad95dc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dotnetbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ jobs:
- name: Restore dependencies
working-directory: ./src
run: dotnet restore
- name: Build
- name: Build and Test (on Linux), then build a Windows release
working-directory: ./src
run: dotnet build --no-restore --configuration Release
- name: Test
working-directory: ./src
run: dotnet test --no-build --configuration Release --verbosity normal
- name: Publish ${{ matrix.application }} for ZIP deployment
run: |
dotnet build --no-restore --configuration Debug
dotnet test --no-build --configuration Debug --verbosity normal
dotnet build --no-restore --configuration Release --os win
- name: Build and Publish ${{ matrix.application }} for Windows ZIP deployment
working-directory: ./src
run: |
cd ${{ matrix.application }}
dotnet publish --no-restore --configuration Release --os win --output publishFolder
dotnet publish --no-build --no-restore --configuration Release --os win --output publishFolder
cd publishFolder
zip -r ../zip-deploy-${{ matrix.application }}-win-x64.zip *
- name: Upload ${{ matrix.application }} build artifact
Expand Down

0 comments on commit 2ad95dc

Please sign in to comment.