Skip to content

Commit

Permalink
chore: force shell to bash on all platform
Browse files Browse the repository at this point in the history
  • Loading branch information
abdes committed Mar 6, 2022
1 parent 95ab9eb commit 61d4bed
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,9 @@ jobs:

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

- name: Upload to Release
id: upload_to_release
Expand Down

0 comments on commit 61d4bed

Please sign in to comment.