@@ -24,19 +24,19 @@ jobs:
2424 uses : docker/setup-qemu-action@v3
2525 - name : Generate
2626 run : |
27- export PGRX =$(grep -o 'pgrx = { version = "= [^"]*' Cargo.toml | cut -d = -f 4)
27+ export BRANCH =$(grep -o 'pgrx = { git = "https://github.com/tensorchord/pgrx.git", branch = " [^"]*' Cargo.toml | cut -d '"' -f 4)
2828 docker run --rm --platform linux/amd64 -v ./:/mnt/build \
29- -e "VERSION=14" -e "PGRX=$PGRX " debian:buster bash /mnt/build/scripts/update_vendor.sh &
29+ -e "VERSION=14" -e "BRANCH=$BRANCH " debian:buster bash /mnt/build/scripts/update_vendor.sh &
3030 docker run --rm --platform linux/amd64 -v ./:/mnt/build \
31- -e "VERSION=15" -e "PGRX=$PGRX " debian:buster bash /mnt/build/scripts/update_vendor.sh &
31+ -e "VERSION=15" -e "BRANCH=$BRANCH " debian:buster bash /mnt/build/scripts/update_vendor.sh &
3232 docker run --rm --platform linux/amd64 -v ./:/mnt/build \
33- -e "VERSION=16" -e "PGRX=$PGRX " debian:buster bash /mnt/build/scripts/update_vendor.sh &
33+ -e "VERSION=16" -e "BRANCH=$BRANCH " debian:buster bash /mnt/build/scripts/update_vendor.sh &
3434 docker run --rm --platform linux/arm64 -v ./:/mnt/build \
35- -e "VERSION=14" -e "PGRX=$PGRX " debian:buster bash /mnt/build/scripts/update_vendor.sh &
35+ -e "VERSION=14" -e "BRANCH=$BRANCH " debian:buster bash /mnt/build/scripts/update_vendor.sh &
3636 docker run --rm --platform linux/arm64 -v ./:/mnt/build \
37- -e "VERSION=15" -e "PGRX=$PGRX " debian:buster bash /mnt/build/scripts/update_vendor.sh &
37+ -e "VERSION=15" -e "BRANCH=$BRANCH " debian:buster bash /mnt/build/scripts/update_vendor.sh &
3838 docker run --rm --platform linux/arm64 -v ./:/mnt/build \
39- -e "VERSION=16" -e "PGRX=$PGRX " debian:buster bash /mnt/build/scripts/update_vendor.sh &
39+ -e "VERSION=16" -e "BRANCH=$BRANCH " debian:buster bash /mnt/build/scripts/update_vendor.sh &
4040 wait
4141 sudo chown -R $USER ./vendor
4242 - name : Create Pull Request
0 commit comments