diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index eac7d2e..050cd5a 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -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 }}"