Skip to content

Commit

Permalink
simplify workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
NotOfficer committed Nov 17, 2024
1 parent 32d3f50 commit a31dd15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/nuget_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,8 @@ jobs:
8.0.x
9.0.x
- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore --configuration Release

- name: Pack NuGet Package(s)
run: dotnet pack --no-restore --no-build --configuration Release --output ~/nuget-packages
- name: Build & Pack NuGet Package(s)
run: dotnet pack -c Release --output ~/nuget-packages

- name: Upload Build Artifact(s)
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: dotnet restore

- name: Build
run: dotnet build --no-restore --configuration Release
run: dotnet build --no-restore -c Release

- name: Run Tests
run: dotnet test --no-build --configuration Release --verbosity normal
run: dotnet test --no-restore --no-build -c Release -v normal

0 comments on commit a31dd15

Please sign in to comment.