Skip to content

Commit

Permalink
Update build-and-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
belkiss authored Jul 22, 2024
1 parent 2bcef97 commit dca2e63
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,18 @@ jobs:
- name: Build NiftyPerforce in ${{ matrix.configuration }} and analyze
shell: powershell
run: |
msbuild -t:build -restore NiftyPerforce/NiftyPerforce.csproj /nologo /v:m /p:DeployExtension=false /p:Configuration=$env:Configuration
msbuild -t:build -restore NiftyPerforce.sln /nologo /v:m /p:DeployExtension=false /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any

- name: Run tests
uses: microsoft-approved-actions/vstest@master
with:
testAssembly: NiftyPerforce.Tests*.dll
searchFolder: ./NiftyPerforce.Tests/
runInParallel: true

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit dca2e63

Please sign in to comment.