Sfoglia il codice sorgente

CI: Fix win arm version defect (#6940)

write-host in powershell writes directly to the console and will not be picked
up by a pipe.  Echo, or write-output will.
Daniel Hiltgen 7 mesi fa
parent
commit
e9e9bdb8d9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      .github/workflows/release.yaml

+ 1 - 1
.github/workflows/release.yaml

@@ -354,7 +354,7 @@ jobs:
       - name: Set Version
         run: |
           $ver=${env:GITHUB_REF_NAME}.trim("v")
-          write-host VERSION=$ver | Out-File -FilePath ${env:GITHUB_ENV} -Encoding utf8 -Append
+          echo VERSION=$ver | Out-File -FilePath ${env:GITHUB_ENV} -Encoding utf8 -Append
       - uses: 'google-github-actions/auth@v2'
         with:
           project_id: 'ollama'