File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,11 +27,25 @@ jobs:
2727 uses : dtolnay/rust-toolchain@stable
2828 - name : Run release-plz
2929 uses : release-plz/action@v0.5
30+ id : release-plz
3031 with :
3132 command : release
3233 env :
3334 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3435 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_TOKEN }}
36+ - name : Trigger FFI workflow if needed
37+ env :
38+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39+ RELEASES : ${{ steps.release-plz.outputs.releases }}
40+ run : |
41+ set -e
42+ echo "releases: $RELEASES"
43+
44+ ffi_tag=$(echo "$RELEASES" | jq -r '.[].tag' | grep 'rust-sdks/livekit-ffi@' || true)
45+ if [ -n "$ffi_tag" ]; then
46+ echo "Found ffi_tag: $ffi_tag"
47+ gh workflow run ffi-builds.yml --ref $ffi_tag
48+ fi
3549
3650 # Create a PR with the new versions and changelog, preparing the next release.
3751 release-plz-pr :
You can’t perform that action at this time.
0 commit comments