Remove unneded parameter from PG build cache keys

We don't build the same configuration with different compilers for one
commit, and the changes between commits are handled by the hash of
`.github` subdirectory in the cache key.
This commit is contained in:
Alexander Kuzmenkov 2023-12-19 14:11:09 +01:00
parent 5e318c4807
commit 2bd06e22a5
3 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/${{ env.PG_SRC_DIR }}
key: "linux-32-bit-postgresql-${{ matrix.pg }}-${{ matrix.cc }}\
key: "linux-32-bit-postgresql-${{ matrix.pg }}\
-${{ steps.get-date.outputs.date }}-${{ hashFiles('.github/**') }}"
- name: Build PostgreSQL ${{ matrix.pg }}

View File

@ -99,7 +99,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/${{ env.PG_SRC_DIR }}
key: "${{ matrix.os }}-postgresql-${{ matrix.pg }}-${{ matrix.cc }}\
key: "${{ matrix.os }}-postgresql-${{ matrix.pg }}\
-${{ steps.get-date.outputs.date }}-${{ hashFiles('.github/**') }}${{ env.CACHE_SUFFIX }}"
- name: Build PostgreSQL ${{ matrix.pg }}${{ matrix.snapshot }}

View File

@ -104,7 +104,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/${{ env.PG_SRC_DIR }}
key: "${{ matrix.os }}-${{ env.name }}-postgresql-${{ matrix.pg }}-${{ env.CC }}\
key: "${{ matrix.os }}-${{ env.name }}-postgresql-${{ matrix.pg }}\
-${{ steps.get-date.outputs.date }}-${{ hashFiles('.github/**') }}"
- name: Build PostgreSQL ${{ matrix.pg }} if not in cache