mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-19 04:03:06 +08:00
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:
parent
5e318c4807
commit
2bd06e22a5
@ -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 }}
|
||||
|
2
.github/workflows/linux-build-and-test.yaml
vendored
2
.github/workflows/linux-build-and-test.yaml
vendored
@ -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 }}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user