Skip to content

Commit 4bc6b20

Browse files
committed
ci: add index update callback after release
1 parent af2ad30 commit 4bc6b20

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/build-riscv64.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,17 @@ jobs:
111111
- name: Cleanup
112112
if: always()
113113
run: rm -rf /tmp/wheels
114+
notify-index:
115+
needs: release
116+
runs-on: ubuntu-latest
117+
if: success()
118+
steps:
119+
- name: Trigger index update
120+
env:
121+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
122+
run: |
123+
gh api repos/gounthar/riscv64-python-wheels/dispatches \
124+
-f event_type=fork-release-published \
125+
-f "client_payload[repo]=${{ github.repository }}" \
126+
-f "client_payload[tag]=${{ github.ref_name }}" || true
127+

0 commit comments

Comments
 (0)