Skip to content

Commit

Permalink
Run tests before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpmorris committed Dec 20, 2024
1 parent 173b7fd commit c4b13a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Build
run: dotnet build "./Source/" --configuration Release -p:Version=${{ github.event.release.tag_name }} -p:AssemblyVersion=${{ github.event.release.tag_name }} -p:FileVersion=${{ github.event.release.tag_name }}

- name: Test
run: dotnet test "./Source/" --configuration Release --no-build

- name: Pack
run: dotnet pack "./Source/" --configuration Release --no-build -p:Version=${{ github.event.release.tag_name }} -p:AssemblyVersion=${{ github.event.release.tag_name }} -p:FileVersion=${{ github.event.release.tag_name }} -o ./artifacts

Expand Down

0 comments on commit c4b13a8

Please sign in to comment.