Skip to content

Commit 0f9b74c

Browse files
committed
fix windows version
1 parent 22e1719 commit 0f9b74c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
run: mv target/${{ matrix.target }}/release/basjoofan target/${{ matrix.target }}/release/basjoofan-${{ env.version }}-${{ matrix.target }}
8787
- name: Echo Version (windows)
8888
if: contains(matrix.target, 'windows')
89-
run: echo version=$((Get-Content ./cmd/Cargo.toml | Select-String '^version').ToString().Split('"')[1]) >> $GITHUB_ENV
89+
run: echo version=$((Get-Content ./cmd/Cargo.toml | Select-String '^version').ToString().Split('"')[1]) | Out-File -FilePath $env:GITHUB_ENV -Append
9090
- name: Naming (windows)
9191
if: contains(matrix.target, 'windows')
9292
run: Rename-Item -Path target/${{ matrix.target }}/release/basjoofan.exe -NewName basjoofan-${{ env.version }}-${{ matrix.target }}.exe

0 commit comments

Comments
 (0)