Skip to content

Commit df9c29b

Browse files
committed
chore: fix-provenance-snapshot
1 parent 61a1d45 commit df9c29b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/snapshot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ jobs:
8686
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
8787

8888
- name: Publish packages as beta
89-
if: ${{ inputs.registry == 'https://registry.npmjs.org' }}
89+
if: ${{ inputs.registry == 'https://registry.npmjs.org/' }}
9090
run: pnpm publish -r --tag beta --no-git-checks --registry ${{ inputs.registry }}
9191
env:
9292
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
9393
NPM_CONFIG_PROVENANCE: 'true' # make sure provenance is working on beta releases to npm
9494

9595
- name: Publish packages as beta
96-
if: ${{ inputs.registry != 'https://registry.npmjs.org' }}
96+
if: ${{ inputs.registry != 'https://registry.npmjs.org/' }}
9797
run: pnpm publish -r --tag beta --no-git-checks --registry ${{ inputs.registry }}
9898
env:
9999
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)