Skip to content

Commit f2343a6

Browse files
committed
ci
1 parent bab000e commit f2343a6

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
- uses: actions/checkout@v3
105105
with:
106106
fetch-depth: 0
107-
ref: ${{ needs.publish.outputs.tagName }}
107+
ref: ${{ needs.publish.outputs.tag }}
108108

109109
- uses: apple-actions/import-codesign-certs@v2
110110
if: ${{ runner.os == 'macOS' }}
@@ -147,6 +147,7 @@ jobs:
147147
shared-key: ${{ matrix.settings.target }}
148148

149149
- name: Prepare
150+
if: inputs.bump || inputs.version
150151
run: |
151152
cd packages/tauri
152153
bun ./scripts/prepare.ts
@@ -196,13 +197,13 @@ jobs:
196197
needs:
197198
- publish
198199
- publish-tauri
199-
if: needs.publish.outputs.tagName
200+
if: needs.publish.outputs.tag
200201
runs-on: blacksmith-4vcpu-ubuntu-2404
201202
steps:
202203
- uses: actions/checkout@v3
203204
with:
204205
fetch-depth: 0
205-
ref: ${{ needs.publish.outputs.tagName }}
206+
ref: ${{ needs.publish.outputs.tag }}
206207

207208
- uses: ./.github/actions/setup-bun
208209

0 commit comments

Comments
 (0)