Skip to content

Commit

Permalink
Set permissions in script
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Apr 3, 2024
1 parent 13ab5cf commit 92ec094
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/apt-install-postgres
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ curl https://salsa.debian.org/postgresql/postgresql-common/-/raw/master/pgdg/apt
chmod +x /usr/local/bin/apt.postgresql.org.sh

apt.postgresql.org.sh -i -v "$PGVERSION"
apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -y "${@:2}"
chmod a+rwx "$(pg_config --pkglibdir)" "$(pg_config --sharedir)/extension"
2 changes: 0 additions & 2 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
run: cargo install cargo-pgrx --version "$(perl -ne 'print $1 if /^pgrx\s+=\s"=?([^"]+)/' Cargo.toml)" --locked
- name: Initialize pgrx
run: cargo pgrx init --pg${{ matrix.pg }}="$(which pg_config)"
- name: Fix permissisons
run: chmod a+rwx "$(pg_config --pkglibdir)" "$(pg_config --sharedir)/extension"
- name: Run the tests
env:
RUST_BACKTRACE: 1
Expand Down

0 comments on commit 92ec094

Please sign in to comment.