Skip to content

Commit

Permalink
Make sure tests run before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
17cupsofcoffee committed May 5, 2024
1 parent 5afce5d commit 0123c1c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,17 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Build
run: |
dotnet publish src -r win-x64
dotnet publish src -r osx-x64
dotnet publish src -r osx-arm64
dotnet publish src --no-build -r win-x64
dotnet publish src --no-build -r osx-x64
dotnet publish src --no-build -r osx-arm64
- name: Zip artifacts
run: |
7z a "livetagger-win-x64.zip" "./src/bin/Release/net8.0/win-x64/publish/*"
Expand Down

0 comments on commit 0123c1c

Please sign in to comment.