Skip to content

Commit

Permalink
Fix bash syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
casper-hansen committed Feb 15, 2024
1 parent 32095d4 commit 4f7773e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,13 @@ jobs:
echo "Using python for build:"
python --version
which python
if [[ "${{ runner.os }}" == "Linux" ]]; then
platform_name="manylinux2014_x86_64"
else
platform_name="win_amd64"
fi
if ("${{ runner.os }}" == "Linux") { platform_name="manylinux2014_x86_64" } else {platform_name="win_amd64"}
ROCM_VERSION=${{ matrix.rocm }} python setup.py sdist bdist_wheel --plat-name $platform_name --python-version ${{ matrix.python }}
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 4f7773e

Please sign in to comment.