Add trigger for tri-pi ARM64 build on release
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user