Add trigger for tri-pi ARM64 build on release

This commit is contained in:
SamiAhmed7777
2026-04-04 03:32:13 -07:00
parent 012bc344f5
commit b857257516
+15
View File
@@ -631,3 +631,18 @@ jobs:
with:
files: release/*
generate_release_notes: true
trigger-tripi:
name: Trigger TRI-PI ARM64 Build
if: startsWith(github.ref, 'refs/tags/v')
needs: release
runs-on: ubuntu-latest
steps:
- name: Dispatch tri-pi ARM64 build
run: |
curl -f -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.TRIPI_BUILD_TOKEN }}" \
https://api.github.com/repos/SamiAhmed7777/tri-pi/actions/workflows/build-arm64.yml/dispatches \
-d '{"ref":"main","inputs":{"version":"${{ github.ref_name }}"}}'
echo "Triggered tri-pi build for ${{ github.ref_name }}"