Yuki Takei 5 лет назад
Родитель
Сommit
9dcbeb5107
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      .github/workflows/release.yml

+ 3 - 1
.github/workflows/release.yml

@@ -62,7 +62,9 @@ jobs:
     - uses: actions/checkout@v2
 
     - name: Checkout released tag
-      run: git checkout refs/tags/v${{ needs.github-release.outputs.RELEASE_VERSION }}
+      run: |
+        git fetch --tags
+        git checkout refs/tags/v${{ needs.github-release.outputs.RELEASE_VERSION }}
 
     - name: Determine suffix
       run: |