From 6f3a5daf5ee2f9a6961c58da78261213b1ac1847 Mon Sep 17 00:00:00 2001 From: wojsmol Date: Mon, 19 Dec 2022 15:48:59 +0100 Subject: [PATCH] Update custom-cache-suffix --- .github/workflows/reusable-code-quality.yml | 8 ++++---- .github/workflows/reusable-regenerate-readme.yml | 4 ++-- .github/workflows/reusable-testing.yml | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/reusable-code-quality.yml b/.github/workflows/reusable-code-quality.yml index 46a9ffb..3256d21 100644 --- a/.github/workflows/reusable-code-quality.yml +++ b/.github/workflows/reusable-code-quality.yml @@ -39,8 +39,8 @@ jobs: env: COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} with: - # Bust the cache at least once a month - output format: YYYY-MM-DD. - custom-cache-suffix: $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F") + # Bust the cache at least once a month - output format: YYYY-MM. + custom-cache-suffix: $(date -u "+%Y-%m") - name: Check existence of vendor/bin/parallel-lint file id: check_linter_file @@ -81,8 +81,8 @@ jobs: env: COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} with: - # Bust the cache at least once a month - output format: YYYY-MM-DD. - custom-cache-suffix: $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F") + # Bust the cache at least once a month - output format: YYYY-MM. + custom-cache-suffix: $(date -u "+%Y-%m") - name: Check existence of vendor/bin/phpcs file id: check_phpcs_binary_file diff --git a/.github/workflows/reusable-regenerate-readme.yml b/.github/workflows/reusable-regenerate-readme.yml index 582b3e7..7fcda0a 100644 --- a/.github/workflows/reusable-regenerate-readme.yml +++ b/.github/workflows/reusable-regenerate-readme.yml @@ -39,8 +39,8 @@ jobs: env: COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} with: - # Bust the cache at least once a month - output format: YYYY-MM-DD. - custom-cache-suffix: $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F") + # Bust the cache at least once a month - output format: YYYY-MM. + custom-cache-suffix: $(date -u "+%Y-%m") - name: Configure git user run: | diff --git a/.github/workflows/reusable-testing.yml b/.github/workflows/reusable-testing.yml index b5662e8..1fa20ab 100644 --- a/.github/workflows/reusable-testing.yml +++ b/.github/workflows/reusable-testing.yml @@ -45,8 +45,8 @@ jobs: env: COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} with: - # Bust the cache at least once a month - output format: YYYY-MM-DD. - custom-cache-suffix: $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F") + # Bust the cache at least once a month - output format: YYYY-MM. + custom-cache-suffix: $(date -u "+%Y-%m") - name: Setup problem matcher to provide annotations for PHPUnit if: steps.check_files.outputs.files_exists == 'true' @@ -139,8 +139,8 @@ jobs: env: COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} with: - # Bust the cache at least once a month - output format: YYYY-MM-DD. - custom-cache-suffix: $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F") + # Bust the cache at least once a month - output format: YYYY-MM. + custom-cache-suffix: $(date -u "+%Y-%m") - name: Start MySQL server if: steps.check_files.outputs.files_exists == 'true'