Skip to content

Commit

Permalink
ci: fix cache key by setting lib versions in job env
Browse files Browse the repository at this point in the history
  • Loading branch information
dvarrazzo committed Apr 3, 2023
1 parent 51dd59e commit 46238ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
build-linux:
if: true

env:
LIBPQ_VERSION: "15.0"
OPENSSL_VERSION: "1.1.1t"

strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions scripts/build/build_libpq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ set -x

# Last release: https://www.postgresql.org/ftp/source/
# IMPORTANT! Change the cache key in packages.yml when upgrading libraries
postgres_version="${LIBPQ_VERSION:-15.0}"
postgres_version="${LIBPQ_VERSION}"

# last release: https://www.openssl.org/source/
openssl_version="${OPENSSL_VERSION:-1.1.1t}"
openssl_version="${OPENSSL_VERSION}"

# last release: https://openldap.org/software/download/
ldap_version="2.6.3"
Expand Down

0 comments on commit 46238ba

Please sign in to comment.