Skip to content

Commit

Permalink
add quotes around $GITHUB_ENV and $GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
wlav committed Sep 13, 2023
1 parent b42a798 commit 8c774b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cling-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: aarch64-job-number
run: |
export JOB_NUMBER=$(python3 circleci.py job --token ${{ secrets.CIRCLE_API_TOKEN }})
echo "job_number=$JOB_NUMBER" >> $GITHUB_OUTPUT
echo "job_number=$JOB_NUMBER" >> "$GITHUB_OUTPUT"
build_wheels:
name: Build wheels on ${{ matrix.cibw.build }}
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
JOB_NUMBER: ${{ needs.build-aarch64-wheels.outputs.job_number }}
run: |
export WHEEL_PATH=$(python circleci.py artifact --job-number $JOB_NUMBER --token ${{ secrets.CIRCLE_API_TOKEN }})
echo "wheel_path=$WHEEL_PATH" >> $GITHUB_ENV
echo "wheel_path=$WHEEL_PATH" >> "$GITHUB_ENV"
- uses: actions/upload-artifact@v3
with:
Expand Down
5 changes: 1 addition & 4 deletions circleci.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ def get_artifact(

urllib.request.urlretrieve(url, path)
time.sleep(1.0)
if not path:
print('wheelhouse/cppyy_cling-6.28.0-py2.py3-none-linux_aarch64.whl')
else:
print(path)
print(path)
return 0


Expand Down

0 comments on commit 8c774b1

Please sign in to comment.