diff --git a/.github/workflows/covector-version-or-publish-next.yml b/.github/workflows/covector-version-or-publish-next.yml index e6e7364bd..cd56feadd 100644 --- a/.github/workflows/covector-version-or-publish-next.yml +++ b/.github/workflows/covector-version-or-publish-next.yml @@ -77,7 +77,7 @@ jobs: token: ${{ secrets.ORG_TAURI_BOT_PAT }} repository: tauri-apps/tauri event-type: publish-clijs - client-payload: '{"releaseId": "${{ steps.covector.outputs.cli.js-releaseId }}" }' + client-payload: '{"releaseId": "${{ steps.covector.outputs.cli.js-releaseId }}", "ref": "${{ github.ref }}" }' - name: Trigger cli.rs publishing workflow if: | @@ -88,3 +88,4 @@ jobs: token: ${{ secrets.ORG_TAURI_BOT_PAT }} repository: tauri-apps/tauri event-type: publish-clirs + client-payload: '{"ref": "${{ github.ref }}" }' diff --git a/.github/workflows/publish-cli-js.yml b/.github/workflows/publish-cli-js.yml index 7caa4e14d..1c3021ed3 100644 --- a/.github/workflows/publish-cli-js.yml +++ b/.github/workflows/publish-cli-js.yml @@ -92,6 +92,8 @@ jobs: runs-on: ${{ matrix.settings.host }} steps: - uses: actions/checkout@v3 + with: + ref: ${{ github.event.client_payload.ref || '' }} - name: Setup node uses: actions/setup-node@v3 if: ${{ !matrix.settings.docker }} diff --git a/.github/workflows/publish-cli-rs.yml b/.github/workflows/publish-cli-rs.yml index 72850500a..304e2deca 100644 --- a/.github/workflows/publish-cli-rs.yml +++ b/.github/workflows/publish-cli-rs.yml @@ -32,8 +32,9 @@ jobs: ext: '.exe' steps: - - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.client_payload.ref || '' }} - name: 'Setup Rust' uses: dtolnay/rust-toolchain@stable