feat(repo): allow testing publish workflow manually without real publ… (#17754)
This commit is contained in:
parent
efdf140459
commit
9ffa90f737
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
@ -4,6 +4,7 @@ env:
|
|||||||
NX_RUN_GROUP: ${{ github.run_id }}-${{ github.run_attempt }}
|
NX_RUN_GROUP: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
NPM_CONFIG_PROVENANCE: true
|
NPM_CONFIG_PROVENANCE: true
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
jobs:
|
jobs:
|
||||||
@ -200,7 +201,7 @@ jobs:
|
|||||||
path: packages/**/*.node
|
path: packages/**/*.node
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
publish:
|
publish:
|
||||||
if: ${{ github.repository_owner == 'nrwl' }}
|
if: ${{ github.event_name == 'release' && github.repository_owner == 'nrwl' }}
|
||||||
name: Publish
|
name: Publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user