Skip to content

Commit

Permalink
Only publish prerelease packages if on the master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed May 16, 2024
1 parent cfc1038 commit 28d10a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ jobs:
runs-on: ubuntu-22.04
needs: test
environment: "Prerelease deployment environment"
# Only publish prerelease packages on the master branch
if: ${{ github.ref_name == 'master' }}

steps:
- name: Setup dotnet
Expand Down

0 comments on commit 28d10a1

Please sign in to comment.