Skip to content

Commit e6436a8

Browse files
committed
ci(release-please): fix action logic typo
1 parent fb5c5e6 commit e6436a8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release-please.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,22 @@ jobs:
2323
- name: Checkout Repository
2424
# these if statements ensure that a publication only occurs when
2525
# a new release is created:
26-
if: ${{ steps.release.outputs.releases_created }}
26+
if: ${{ steps.release.outputs.release_created }}
27+
2728
uses: actions/checkout@v4
2829
- name: Setup Node
2930
uses: actions/setup-node@v4
30-
if: ${{ steps.release.outputs.releases_created }}
31+
if: ${{ steps.release.outputs.release_created }}
3132
with:
3233
node-version: 'lts/*'
3334
registry-url: 'https://registry.npmjs.org'
3435
- name: Install Dependencies
3536
run: npm ci
36-
if: ${{ steps.release.outputs.releases_created }}
37+
if: ${{ steps.release.outputs.release_created }}
3738
- name: Publish to npm
3839
# Release Please has already incremented versions and published tags, so we just
3940
# need to publish all unpublished versions to NPM here
40-
if: ${{ steps.release.outputs.releases_created }}
41+
if: ${{ steps.release.outputs.release_created }}
4142
run: npm publish --provenance
4243
env:
4344
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)