Explorar o código

fix release workflow

Yuki Takei %!s(int64=5) %!d(string=hai) anos
pai
achega
9dcbeb5107
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      .github/workflows/release.yml

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

@@ -62,7 +62,9 @@ jobs:
     - uses: actions/checkout@v2
     - uses: actions/checkout@v2
 
 
     - name: Checkout released tag
     - 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
     - name: Determine suffix
       run: |
       run: |