From c7e05cf417e6fce958fc94bf1b910a646ad6e42a Mon Sep 17 00:00:00 2001 From: buck Date: Mon, 6 Nov 2023 14:57:28 -0600 Subject: [PATCH] fix: actions yaml bugs --- .github/workflows/release-please.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index bfbf723..1acb694 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -14,6 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: google-github-actions/release-please-action@v3 + id: release with: release-type: node package-name: unchained-wallets @@ -23,15 +24,15 @@ jobs: - uses: actions/checkout@v2 # these if statements ensure that a publication only occurs when # a new release is created: - if: ${{ steps.release.outputs.release_created }} + if: ${{ steps.release.outputs.releases_created }} - uses: actions/setup-node@v3 with: node-version: 18 registry-url: 'https://registry.npmjs.org' - if: ${{ steps.release.outputs.release_created }} + if: ${{ steps.release.outputs.releases_created }} - run: npm ci - if: ${{ steps.release.outputs.release_created }} + if: ${{ steps.release.outputs.releases_created }} - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - if: ${{ steps.release.outputs.release_created }} + if: ${{ steps.release.outputs.releases_created }}