Skip to content

Commit

Permalink
chore: adjust command for windows powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
abdes committed Mar 6, 2022
1 parent 5e2a820 commit 2541911
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,14 @@ jobs:
with:
name: upload_url
path: ./

- id: set_upload_url
run: |
upload_url=`cat ./upload_url`
if [ "$RUNNER_OS" == "Windows" ]; then
$upload_url = Get-Content ./upload_url
else
upload_url=`cat ./upload_url`
fi
echo ::set-output name=upload_url::$upload_url
- name: Upload to Release
Expand Down

0 comments on commit 2541911

Please sign in to comment.