We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e4ff3a + feb9f83 commit 353d30dCopy full SHA for 353d30d
.github/workflows/nuget-push-to-esdm-nexus.yml
@@ -12,6 +12,12 @@ jobs:
12
uses: actions/setup-dotnet@v4
13
with:
14
dotnet-version: 8.0.x
15
+ - name: Exit if the branch is not master
16
+ run: |
17
+ if [[ "${{ github.ref }}" != "refs/heads/master" ]]; then
18
+ echo "Branch is not master, exiting."
19
+ exit 0
20
+ fi
21
- name: Setup NuGet
22
run: dotnet nuget add source ${{ secrets.NUGET_SOURCE_URL }} -u ${{ secrets.NUGET_USERNAME }} -p ${{ secrets.NUGET_PASSWORD }} --store-password-in-clear-text --name esdm-nexus
23
- name: Restore dependencies
0 commit comments