Skip to content

Commit

Permalink
get release file name now runs via bash on Windows runners as well
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyTeichman committed Sep 17, 2024
1 parent e6126d9 commit 32629ec
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,8 @@ jobs:
- name: Get Release File Name & Upload URL
id: get_release_info
run: |
if [[ "${{ runner.os }}" == "Windows" ]]; then
value=$(Get-Content release_url/release_url.txt)
echo "UPLOAD_URL=$value" >> $GITHUB_ENV
else
value=$(cat release_url/release_url.txt)
echo "UPLOAD_URL=$value" >> $GITHUB_ENV
fi
value=$(cat release_url/release_url.txt)
echo "UPLOAD_URL=$value" >> $GITHUB_ENV
shell: bash
- name: Upload Release Asset
id: upload-release-asset
Expand Down

0 comments on commit 32629ec

Please sign in to comment.