feat(repo): allow testing publish workflow manually without real publ… (#17754)

This commit is contained in:
Jason Jean 2023-06-30 18:32:29 -04:00 committed by GitHub
parent efdf140459
commit 9ffa90f737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ env:
NX_RUN_GROUP: ${{ github.run_id }}-${{ github.run_attempt }}
NPM_CONFIG_PROVENANCE: true
on:
workflow_dispatch:
release:
types: [published]
jobs:
@ -200,7 +201,7 @@ jobs:
path: packages/**/*.node
if-no-files-found: error
publish:
if: ${{ github.repository_owner == 'nrwl' }}
if: ${{ github.event_name == 'release' && github.repository_owner == 'nrwl' }}
name: Publish
runs-on: ubuntu-latest
permissions: