Browse Source

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 tháng trước cách đây
mục cha
commit
e9e9bdb8d9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'