Skip to content

Commit

Permalink
fix(ci): use client-payload input to trigger cli.js publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Dec 14, 2022
1 parent 3dc38b1 commit 2bf9c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/covector-version-or-publish.yml
Expand Up @@ -124,7 +124,7 @@ jobs:
token: ${{ secrets.ORG_TAURI_BOT_PAT }}
repository: tauri-apps/tauri
event-type: publish-clijs
inputs: '{"releaseId": "${{ steps.covector.outputs.cli.js-releaseId }}" }'
client-payload: '{"releaseId": "${{ steps.covector.outputs.cli.js-releaseId }}" }'

- name: Trigger cli.rs publishing workflow
if: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-cli-js.yml
Expand Up @@ -397,4 +397,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
RELEASE_ID: ${{ github.event.inputs.releaseId }}
RELEASE_ID: ${{ github.event.client_payload.releaseId || github.event.inputs.releaseId }}

0 comments on commit 2bf9c27

Please sign in to comment.