Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JadynWong committed Mar 5, 2021
1 parent 000cb41 commit 7ec1697
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
run: dotnet build --configuration Release

- name: Test with dotnet
run: dotnet test --configuration Release --no-build
run: dotnet test --configuration Release --no-build --verbosity normal

- name: Pack with dotnet
run: dotnet pack --configuration Release --no-build
run: |
dotnet pack ./QQWry --configuration Release --no-build --verbosity normal
dotnet pack ./QQWry.DependencyInjection --configuration Release --no-build --verbosity normal
6 changes: 3 additions & 3 deletions Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ dotnet build $solutionPath --configuration Release
CheckProcess "build"

#test
dotnet test $solutionPath --configuration Release --no-restore
dotnet test $solutionPath --configuration Release --no-restore --verbosity normal

CheckProcess "test"

#pack
dotnet pack .\QQWry -o $outputFolder -p:Version=$version --configuration Release --no-restore
dotnet pack .\QQWry -o $outputFolder -p:Version=$version --configuration Release --no-restore --verbosity normal

CheckProcess "pack QQWry"

dotnet pack .\QQWry.DependencyInjection -o $outputFolder -p:Version=$version --configuration Release --no-restore
dotnet pack .\QQWry.DependencyInjection -o $outputFolder -p:Version=$version --configuration Release --no-restore --verbosity normal

CheckProcess "pack QQWry.DependencyInjection"

Expand Down

0 comments on commit 7ec1697

Please sign in to comment.