Skip to content

Commit 13e6992

Browse files
authored
Update tag.yml
1 parent 61281ad commit 13e6992

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tag.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
echo $TAG
3535
sed -i.bak "s~version = \"[0-9.]*\"~version = \"$TAG\"~g" BUILD
3636
cat BUILD
37-
sed -i.bak "s~\[\"X86\", \"AArch64\", \"AMDGPU\", \"NVPTX\"\]~\[\"X86\", \"NVPTX\"\]~g" WORKSPACE
37+
sed -i.bak "s~\[\"X86\", \"AArch64\", \"AMDGPU\", \"NVPTX\"\]~\[\"X86\"]~g" WORKSPACE
3838
cat WORKSPACE
3939
- uses: bazel-contrib/[email protected]
4040
with:
@@ -43,9 +43,9 @@ jobs:
4343
bazelisk-version: 1.x
4444
# - run: sudo find ~/.cache/bazel ~/.cache/bazelisk -iname "*.whl" -exec rm {} \;
4545
- run: |
46-
HERMETIC_PYTHON_VERSION=${{ matrix.python }} bazel build @llvm-project//llvm:FileCheck
46+
HERMETIC_PYTHON_VERSION=${{ matrix.python }} bazel build -c opt @llvm-project//llvm:FileCheck
4747
sudo rm bazel-bin/*.whl || echo
48-
HERMETIC_PYTHON_VERSION=${{ matrix.python }} bazel build :wheel
48+
HERMETIC_PYTHON_VERSION=${{ matrix.python }} bazel build -c opt :wheel
4949
- env:
5050
TWINE_USERNAME: __token__
5151
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)