From 61d4bed957a8bfc0eeae87515e8b492a11645eff Mon Sep 17 00:00:00 2001 From: Abdessattar Sassi <457645+abdes@users.noreply.github.com> Date: Sun, 6 Mar 2022 14:27:56 +0400 Subject: [PATCH] chore: force shell to bash on all platform --- .github/workflows/cmake-build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmake-build.yml b/.github/workflows/cmake-build.yml index 7fe0e60..8166bbb 100644 --- a/.github/workflows/cmake-build.yml +++ b/.github/workflows/cmake-build.yml @@ -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