浏览代码

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

Dax Raad 10 月之前
父节点
当前提交
83390314d6
共有 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' }}