Skip to content

Commit

Permalink
action: properly quote variable
Browse files Browse the repository at this point in the history
Properly quote variable, so the bash shell doesn't interpret backslash
as escape string on path.
  • Loading branch information
alive4ever committed Feb 15, 2025
1 parent 1c73db5 commit a2620eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/generate_release_oldwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,19 @@ jobs:
id: generating-release
shell: bash
run: |
cd ${{ github.workspace }}
cd "${{ github.workspace }}"
python ./generate_release.py oldwin
- name: Testing runtime
id: testing-runtime
shell: bash
run: |
cd ${{ github.workspace }}/youtube-local
cd "${{ github.workspace }}"/youtube-local
./python/python.exe -c "import server; from youtube import util; url = 'https://cloudflare.com/cdn-cgi/trace'; resp = util.fetch_url(url, report_text='Getting CF trace report'); print(resp.decode())"
- name: Preparing output directory
id: prepare-out-dir
shell: bash
run: |
cd "${{ github.workspace }}"
mkdir -p output
xcopy youtube-local*zip ./output/
- name: Uploading build artifacts
Expand Down

0 comments on commit a2620eb

Please sign in to comment.