Skip to content

Commit 4963590

Browse files
committed
fix: create a tmp repo/commit to test local pie installation on CI/CD
1 parent 4d02e8e commit 4963590

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,21 @@ jobs:
9393
sudo chmod +x /usr/local/bin/pie
9494
pie --version
9595
96+
- name: Initialize temporary git repo for version detection
97+
working-directory: src/extension/pg-query-ext
98+
run: |
99+
git init
100+
git config user.email "[email protected]"
101+
git config user.name "CI"
102+
git add .
103+
git commit -m "temp commit for PIE installation test"
104+
git tag 0.0.9999
105+
96106
- name: Install extension via PIE (from local)
97107
run: |
98108
sudo pie repository:remove packagist.org
99109
sudo pie repository:add path ${{ github.workspace }}/src/extension/pg-query-ext
100-
sudo pie install flow-php/pg-query-ext:dev-1.x
110+
sudo pie install flow-php/pg-query-ext:0.0.9999
101111
102112
- name: Verify extension is loaded
103113
run: |

0 commit comments

Comments
 (0)