Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit 91cb08f

Browse files
committed
publish to central repo/index as well
1 parent 33c1878 commit 91cb08f

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ jobs:
3535
- name: Install and configure
3636
shell: bash
3737
run: |
38-
pip install .[torch-mlir-test] \
39-
-f https://github.com/makslevental/mlir-wheels/releases/expanded_assets/latest \
40-
-f https://llvm.github.io/torch-mlir/package-index/
38+
export PIP_EXTRA_INDEX_URL=https://github.com/makslevental/wheels/releases/expanded_assets/i
39+
pip install .[torch-mlir-test] -f https://llvm.github.io/torch-mlir/package-index/
4140
if [ ${{ matrix.os }} == 'windows-2022' ]; then
4241
# configure-mlir-python-utils.exe -y torch_mlir
4342
pushd /tmp && python -m mlir_utils._configuration -y torch_mlir && popd

.github/workflows/wheels.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ jobs:
3939
needs: [build_wheels]
4040

4141
runs-on: ubuntu-latest
42-
permissions:
43-
id-token: write
44-
contents: write
42+
permissions: write-all
4543
steps:
4644
- uses: actions/download-artifact@v3
4745
with:
@@ -83,3 +81,17 @@ jobs:
8381
allowUpdates: true
8482
replacesArtifacts: true
8583
makeLatest: true
84+
85+
- name: Release current commit
86+
uses: ncipollo/[email protected]
87+
with:
88+
owner: makslevental
89+
repo: wheels
90+
artifacts: "dist/*.whl"
91+
token: "${{ secrets.WHEELS_REPO }}"
92+
tag: "i"
93+
name: "i"
94+
removeArtifacts: false
95+
allowUpdates: true
96+
replacesArtifacts: true
97+
makeLatest: true

0 commit comments

Comments
 (0)