Skip to content

Commit 9ffa90f

Browse files
authored
feat(repo): allow testing publish workflow manually without real publ… (nrwl#17754)
1 parent efdf140 commit 9ffa90f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ env:
44
NX_RUN_GROUP: ${{ github.run_id }}-${{ github.run_attempt }}
55
NPM_CONFIG_PROVENANCE: true
66
on:
7+
workflow_dispatch:
78
release:
89
types: [published]
910
jobs:
@@ -200,7 +201,7 @@ jobs:
200201
path: packages/**/*.node
201202
if-no-files-found: error
202203
publish:
203-
if: ${{ github.repository_owner == 'nrwl' }}
204+
if: ${{ github.event_name == 'release' && github.repository_owner == 'nrwl' }}
204205
name: Publish
205206
runs-on: ubuntu-latest
206207
permissions:

0 commit comments

Comments
 (0)