Skip to content

Commit 353d30d

Browse files
committed
Merge branch 'master' into develop
2 parents 0e4ff3a + feb9f83 commit 353d30d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/nuget-push-to-esdm-nexus.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ jobs:
1212
uses: actions/setup-dotnet@v4
1313
with:
1414
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
1521
- name: Setup NuGet
1622
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
1723
- name: Restore dependencies

0 commit comments

Comments
 (0)