From fffed19bafe4150c7d4387c9d83054a3bae915fe Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 26 Feb 2024 21:16:11 +0100 Subject: [PATCH] chore: maybe fix release (#773) --- .github/workflows/release-please.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 19be74bd..97304655 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -6,29 +6,20 @@ name: release-please-submodule jobs: release: runs-on: ubuntu-latest - outputs: - paths_released: ${{ steps.manifest_release.outputs.paths_released }} steps: - uses: google-github-actions/release-please-action@v4 id: manifest_release with: - command: manifest - token: ${{ secrets.GITHUB_TOKEN }} - default-branch: main - publish: - runs-on: ubuntu-latest - needs: release - strategy: - fail-fast: false - matrix: - path: ${{fromJson(needs.release.outputs.paths_released)}} - steps: + release-type: node - uses: actions/checkout@v4 + if: ${{ steps.manifest_release.outputs.release_created }} - uses: actions/setup-node@v4 + if: ${{ steps.manifest_release.outputs.release_created }} with: node-version: lts/* registry-url: 'https://external-dot-oss-automation.appspot.com/' - name: publish + if: ${{ steps.manifest_release.outputs.release_created }} env: NODE_AUTH_TOKEN: ${{secrets.NPM_MONOREPO_TOKEN}} run: |