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: |