ci: cache_id generation changed to now include the entire date

This commit is contained in:
Mateusz Pusz
2024-01-12 13:17:09 +01:00
parent 076c8a2380
commit b7bb1c605d
3 changed files with 3 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV
- name: Cache Conan data
uses: actions/cache@v3
if: always()

View File

@@ -128,7 +128,7 @@ jobs:
with:
string: ${{ matrix.build_type }}
- uses: actions/checkout@v4
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV
- name: Cache Conan data
uses: actions/cache@v3
if: always()

View File

@@ -79,7 +79,7 @@ jobs:
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV
- name: Cache Conan data
if: matrix.language == 'cpp'
uses: actions/cache@v3