File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ stable14 ]
88
9+ env :
10+ BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
11+
912jobs :
1013 build :
1114
@@ -14,15 +17,15 @@ jobs:
1417 steps :
1518 - name : pg
1619 run : |
17- echo "Deploying to production server on branch $GITHUB_REF"
20+ echo "Deploying to production server on branch" $BRANCH_NAME
1821 git config --global user.email "ci@postgrespro.ru"
1922 git config --global user.name "CI PgPro admin"
2023 git clone https://github.com/postgres/postgres.git pg
2124 cd pg
2225 git checkout REL_14_STABLE
2326 ./configure --prefix=`pwd`/tmp_install CFLAGS="-O3"
2427 git clone https://github.com/postgrespro/aqo.git contrib/aqo
25- git -C contrib/aqo checkout $GITHUB_REF
28+ git -C contrib/aqo checkout $BRANCH_NAME
2629 patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_pg14.patch
2730 make -j4 > /dev/null && make -j4 -C contrib > /dev/null
2831 env CLIENTS=50 THREADS=50 make -C contrib/aqo check
You can’t perform that action at this time.
0 commit comments