Skip to content

Commit a6d20cb

Browse files
committed
fix package
1 parent fdf00f3 commit a6d20cb

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,21 @@ jobs:
214214
215215
- name: Package (pg${{ matrix.pg }})
216216
working-directory: pg_deno
217-
run: nix develop -c cargo pgrx package --no-default-features --features "pg${{ matrix.pg }}" --out-dir "dist/pg${{ matrix.pg }}"
217+
run: |
218+
nix develop -c bash -euo pipefail -c '
219+
pg_config="$(cargo pgrx info pg-config ${{ matrix.pg }})"
220+
cargo pgrx package \
221+
--pg-config "$pg_config" \
222+
--no-default-features \
223+
--features "pg${{ matrix.pg }}" \
224+
--out-dir "dist/pg${{ matrix.pg }}"
225+
'
218226
219227
- name: Upload package artifact (pg${{ matrix.pg }})
220228
uses: actions/upload-artifact@v4
221229
with:
222230
name: package-pg${{ matrix.pg }}-${{ matrix.arch }}
223-
path: pg_deno/dist/pg${{ matrix.pg }}
231+
path: pg_deno/dist/pg${{ matrix.pg }}/
224232
if-no-files-found: error
233+
include-hidden-files: true
225234
retention-days: 7

0 commit comments

Comments
 (0)