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.
This commit is contained in:
parent
35bb6d32b3
commit
e9e9bdb8d9
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue