Skip to content

Commit

Permalink
Trying to fix upload-release-asset step in assets.yml for windows-x64…
Browse files Browse the repository at this point in the history
… job.
  • Loading branch information
rturrado committed Jan 9, 2024
1 parent eadc9bc commit 510d58b
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ jobs:
- name: Install dependencies
run: |
brew install bison flex swig xquartz
echo "/usr/local/opt/bison/bin" >> "$GITHUB_PATH"
echo "/usr/local/opt/flex/bin" >> "$GITHUB_PATH"
echo "/usr/local/opt/bison/bin" >> $GITHUB_PATH
echo "/usr/local/opt/flex/bin" >> $GITHUB_PATH
python -m pip install --upgrade pip conan setuptools wheel
- name: Build wheel
run: python setup.py bdist_wheel
- name: Wheel path
id: wheel
working-directory: pybuild/dist/
run: |
echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_OUTPUT"
echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_ENV"
echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_OUTPUT
echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_ENV
- uses: actions/upload-artifact@v3
with:
name: pypi-macos-py${{ matrix.python }}
Expand Down Expand Up @@ -97,8 +97,8 @@ jobs:
id: wheel
working-directory: wheelhouse
run: |
echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_OUTPUT"
echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_ENV"
echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_OUTPUT
echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_ENV
- uses: actions/upload-artifact@v3
with:
name: pypi-linux-${{ matrix.cpython_version }}
Expand Down Expand Up @@ -162,8 +162,8 @@ jobs:
id: wheel
working-directory: wheelhouse
run: |
echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_OUTPUT"
echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_ENV"
echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_OUTPUT
echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_ENV
- uses: actions/upload-artifact@v3
with:
name: pypi-linux-${{ matrix.cpython_version }}
Expand Down Expand Up @@ -204,8 +204,10 @@ jobs:
id: wheel
working-directory: pybuild/dist/
run: |
echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> "$GITHUB_OUTPUT"
echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> "$GITHUB_ENV"
echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> $env:GITHUB_OUTPUT
echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> $env:GITHUB_ENV
echo ${{ env.GITHUB_ENV }}
shell: powershell
- uses: actions/upload-artifact@v3
with:
name: pypi-windows-py${{ matrix.python }}
Expand Down

0 comments on commit 510d58b

Please sign in to comment.