diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index 1364516a2..539f8d41a 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -171,7 +171,7 @@ jobs: token: ${{ secrets.TAURI_BOT_PAT }} repository: tauri-apps/tauri event-type: publish-clijs - client-payload: '{"releaseId": "${{ steps.covector.outputs.cli.js-releaseId }}" }' + inputs: '{"releaseId": "${{ steps.covector.outputs.cli.js-releaseId }}" }' - name: Trigger cli.rs publishing workflow if: | diff --git a/.github/workflows/publish-cli-js.yml b/.github/workflows/publish-cli-js.yml index 4af22aea7..51d15c0b0 100644 --- a/.github/workflows/publish-cli-js.yml +++ b/.github/workflows/publish-cli-js.yml @@ -5,6 +5,10 @@ env: MACOSX_DEPLOYMENT_TARGET: '10.13' on: workflow_dispatch: + inputs: + releaseId: + description: 'ID of the cli.js release' + required: true repository_dispatch: types: [publish-clijs] @@ -397,4 +401,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - RELEASE_ID: ${{ github.event.client_payload.releaseId }} + RELEASE_ID: ${{ github.event.inputs.releaseId }}