Dax Raad před 4 měsíci
rodič
revize
b7c3d0dd9d
1 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 4 3
      .github/workflows/publish.yml

+ 4 - 3
.github/workflows/publish.yml

@@ -104,7 +104,7 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/checkout@v3
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
-          ref: ${{ needs.publish.outputs.tagName }}
+          ref: ${{ needs.publish.outputs.tag }}
 
 
       - uses: apple-actions/import-codesign-certs@v2
       - uses: apple-actions/import-codesign-certs@v2
         if: ${{ runner.os == 'macOS' }}
         if: ${{ runner.os == 'macOS' }}
@@ -147,6 +147,7 @@ jobs:
           shared-key: ${{ matrix.settings.target }}
           shared-key: ${{ matrix.settings.target }}
 
 
       - name: Prepare
       - name: Prepare
+        if: inputs.bump || inputs.version
         run: |
         run: |
           cd packages/tauri
           cd packages/tauri
           bun ./scripts/prepare.ts
           bun ./scripts/prepare.ts
@@ -196,13 +197,13 @@ jobs:
     needs:
     needs:
       - publish
       - publish
       - publish-tauri
       - publish-tauri
-    if: needs.publish.outputs.tagName
+    if: needs.publish.outputs.tag
     runs-on: blacksmith-4vcpu-ubuntu-2404
     runs-on: blacksmith-4vcpu-ubuntu-2404
     steps:
     steps:
       - uses: actions/checkout@v3
       - uses: actions/checkout@v3
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
-          ref: ${{ needs.publish.outputs.tagName }}
+          ref: ${{ needs.publish.outputs.tag }}
 
 
       - uses: ./.github/actions/setup-bun
       - uses: ./.github/actions/setup-bun