File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments