diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 22:06:49 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 22:06:49 -0500 |
commit | d684f38fa9001c9e175aa649c0a0cc77c72f1dea (patch) | |
tree | 1f81856a6adec96c2fb4f795487ea314704b4589 /.github/workflows/dotnet.yml | |
parent | python: Add Build as a dependency (diff) | |
download | locusts-d684f38fa9001c9e175aa649c0a0cc77c72f1dea.tar locusts-d684f38fa9001c9e175aa649c0a0cc77c72f1dea.tar.gz locusts-d684f38fa9001c9e175aa649c0a0cc77c72f1dea.tar.bz2 locusts-d684f38fa9001c9e175aa649c0a0cc77c72f1dea.tar.lz locusts-d684f38fa9001c9e175aa649c0a0cc77c72f1dea.tar.xz locusts-d684f38fa9001c9e175aa649c0a0cc77c72f1dea.tar.zst locusts-d684f38fa9001c9e175aa649c0a0cc77c72f1dea.zip |
chore: Update workflow names and descriptions for consistency
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '.github/workflows/dotnet.yml')
-rw-r--r-- | .github/workflows/dotnet.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7ae8ac1..b48095a 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -15,7 +15,8 @@ on: - ".github/workflows/dotnet.yml" jobs: - test: + build-and-test: + name: Build and Test (.NET) runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -33,7 +34,8 @@ jobs: run: dotnet test --no-restore publish-preview: - needs: test + name: Publish Preview to GitHub Packages + needs: build-and-test if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} runs-on: ubuntu-latest permissions: @@ -58,7 +60,8 @@ jobs: run: dotnet nuget push src/bin/Release/*.symbols.nupkg publish-release: - needs: test + name: Publish Release to NuGet + needs: build-and-test if: ${{ github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/') }} runs-on: ubuntu-latest steps: |