瀏覽代碼

ci: fix tauri updater version mismatch by checking out the release tag

Dax Raad 8 月之前
父節點
當前提交
653c181312
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/workflows/publish.yml

+ 1 - 0
.github/workflows/publish.yml

@@ -109,6 +109,7 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/checkout@v3
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
+          ref: ${{ needs.publish.outputs.tagName }}
 
 
       - uses: apple-actions/import-codesign-certs@v2
       - uses: apple-actions/import-codesign-certs@v2
         if: ${{ runner.os == 'macOS' }}
         if: ${{ runner.os == 'macOS' }}