From 46238ba3516d11f796a631c16a2ef1d44b84c3dd Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 3 Apr 2023 05:07:01 +0200 Subject: [PATCH] ci: fix cache key by setting lib versions in job env --- .github/workflows/packages.yml | 5 +++++ scripts/build/build_libpq.sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index a7fde4da8..f8fb61001 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -54,6 +54,11 @@ jobs: build-linux: if: true + + env: + LIBPQ_VERSION: "15.0" + OPENSSL_VERSION: "1.1.1t" + strategy: fail-fast: false matrix: diff --git a/scripts/build/build_libpq.sh b/scripts/build/build_libpq.sh index 0a413c428..18b84abc9 100755 --- a/scripts/build/build_libpq.sh +++ b/scripts/build/build_libpq.sh @@ -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"