Skip to content

Commit 740acdf

Browse files
authored
Update publish-artifacts-examples-tests.yml
Signed-off-by: Henrique Graca <999396+hjgraca@users.noreply.github.com>
1 parent 760385f commit 740acdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-artifacts-examples-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
run: dotnet test ./examples/ --no-restore --configuration Release --verbosity normal
109109

110110
publish-packages:
111-
if: github.event_name == 'push'
111+
if: (github.event_name == 'push' && github.ref == 'refs/heads/develop') || ${{ github.event_name == 'workflow_dispatch' }}
112112
needs: run-tests
113113
runs-on: ubuntu-latest
114114
permissions:

0 commit comments

Comments
 (0)