diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index c86c2195..d7c6a4c0 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -29,8 +29,8 @@ jobs: - name: Install dependencies run: | brew install bison flex - 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 @@ -39,13 +39,13 @@ jobs: working-directory: pybuild/dist/ run: | echo "WHEEL_NAME=$(ls *.whl)" - echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_OUTPUT + echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_OUTPUT" - uses: actions/upload-artifact@v3 env: WHEEL_NAME: ${{ steps.wheel.outputs.WHEEL_NAME }} with: name: pypi-macos-py${{ matrix.python }} - path: pybuild/dist/$WHEEL_NAME + path: "pybuild/dist/$WHEEL_NAME" - uses: actions/upload-release-asset@v1 if: ${{ github.event_name == 'release' && github.event.action == 'created' }} env: @@ -53,8 +53,8 @@ jobs: WHEEL_NAME: ${{ steps.wheel.outputs.WHEEL_NAME }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: pybuild/dist/$WHEEL_NAME - asset_name: $WHEEL_NAME + asset_path: "pybuild/dist/$WHEEL_NAME" + asset_name: "$WHEEL_NAME" asset_content_type: application/zip manylinux-x64: @@ -95,13 +95,13 @@ jobs: working-directory: wheelhouse run: | echo "WHEEL_NAME=$(ls *.whl)" - echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_OUTPUT + echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_OUTPUT" - uses: actions/upload-artifact@v3 env: WHEEL_NAME: ${{ steps.wheel.outputs.WHEEL_NAME }} with: name: pypi-linux-${{ matrix.cpython_version }} - path: wheelhouse/$WHEEL_NAME + path: "wheelhouse/$WHEEL_NAME" - uses: actions/upload-release-asset@v1 if: ${{ github.event_name == 'release' && github.event.action == 'created' }} env: @@ -109,8 +109,8 @@ jobs: WHEEL_NAME: ${{ steps.wheel.outputs.WHEEL_NAME }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: wheelhouse/$WHEEL_NAME - asset_name: $WHEEL_NAME + asset_path: "wheelhouse/$WHEEL_NAME" + asset_name: "$WHEEL_NAME" asset_content_type: application/zip manylinux-arm64: @@ -163,13 +163,13 @@ jobs: working-directory: wheelhouse run: | echo "WHEEL_NAME=$(ls *.whl)" - echo "WHEEL_NAME=$(ls *.whl)" >> $GITHUB_OUTPUT + echo "WHEEL_NAME=$(ls *.whl)" >> "$GITHUB_OUTPUT" - uses: actions/upload-artifact@v3 env: WHEEL_NAME: ${{ steps.wheel.outputs.WHEEL_NAME }} with: name: pypi-linux-${{ matrix.cpython_version }} - path: wheelhouse/$WHEEL_NAME + path: "wheelhouse/$WHEEL_NAME" - uses: actions/upload-release-asset@v1 if: ${{ github.event_name == 'release' && github.event.action == 'created' }} env: @@ -177,8 +177,8 @@ jobs: WHEEL_NAME: ${{ steps.wheel.outputs.WHEEL_NAME }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: wheelhouse/$WHEEL_NAME - asset_name: $WHEEL_NAME + asset_path: "wheelhouse/$WHEEL_NAME" + asset_name: "$WHEEL_NAME" asset_content_type: application/zip windows-x64: @@ -207,13 +207,13 @@ jobs: working-directory: pybuild/dist/ run: | echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" - echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> $GITHUB_OUTPUT + echo "WHEEL_NAME=$(Get-ChildItem -name *.whl)" >> "$GITHUB_OUTPUT" - uses: actions/upload-artifact@v3 env: WHEEL_NAME: ${{ steps.wheel.outputs.WHEEL_NAME }} with: name: pypi-windows-py${{ matrix.python }} - path: pybuild/dist/$WHEEL_NAME + path: "pybuild/dist/$WHEEL_NAME" - uses: actions/upload-release-asset@v1 if: ${{ github.event_name == 'release' && github.event.action == 'created' }} env: @@ -221,8 +221,8 @@ jobs: WHEEL_NAME: ${{ steps.wheel.outputs.WHEEL_NAME }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: pybuild/dist/$WHEEL_NAME - asset_name: $WHEEL_NAME + asset_path: "pybuild/dist/$WHEEL_NAME" + asset_name: "$WHEEL_NAME" asset_content_type: application/zip publish: