Skip to content

Commit

Permalink
fix(rename): use pwsh method for naming
Browse files Browse the repository at this point in the history
  • Loading branch information
yannouuuu committed Jul 30, 2024
1 parent 74ba3c8 commit d5b16ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ jobs:
$latestTag = (Invoke-RestMethod -Uri https://api.github.com/repos/zed-industries/zed/releases/latest).tag_name
Write-Output "NEXT_VER_CODE=$latestTag" | Out-File -FilePath $env:GITHUB_ENV -Append
shell: pwsh
- run: rename target/release/Zed-windows-amd64.exe target/release/Zed-windows-amd64-${{ env.NEXT_VER_CODE }}.exe
- run: Rename-Item -Path target/release/Zed-windows-amd64.exe -NewName Zed-windows-amd64-${{ env.NEXT_VER_CODE }}.exe
shell: pwsh
- uses: actions/upload-artifact@v4
with:
name: Zed-windows-amd64-${{ env.NEXT_VER_CODE }}
Expand Down

0 comments on commit d5b16ff

Please sign in to comment.