Skip to content

Commit 59b5ddf

Browse files
committed
fix: pie installation on ci/cd
1 parent 34a1307 commit 59b5ddf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/job-pg-query-extension.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,15 @@ jobs:
8282
8383
- name: Install PIE
8484
run: |
85-
composer global require php/pie
85+
curl -L -o /usr/local/bin/pie https://github.com/php/pie/releases/latest/download/pie.phar
86+
chmod +x /usr/local/bin/pie
87+
pie --version
8688
8789
- name: Install extension via PIE
8890
working-directory: src/extension/pg-query-ext
8991
run: |
90-
~/.composer/vendor/bin/pie build .
91-
sudo ~/.composer/vendor/bin/pie install .
92+
pie build .
93+
sudo pie install .
9294
9395
- name: Verify extension is loaded
9496
run: |

0 commit comments

Comments
 (0)