diff options
Diffstat (limited to '.github/workflows/dotnet.yml')
-rw-r--r-- | .github/workflows/dotnet.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c95302a..44b5b7e 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -13,7 +13,7 @@ on: - "**.sln" jobs: - build: + test: runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -33,7 +33,7 @@ jobs: run: dotnet test --no-restore publish-preview: - needs: build + needs: test if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} runs-on: ubuntu-latest permissions: @@ -59,7 +59,7 @@ jobs: run: dotnet nuget push src/bin/Release/*.symbols.nupkg publish-release: - needs: build + needs: test if: ${{ github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/') }} runs-on: ubuntu-latest steps: |