From 225315eb7873865c3c85e9ee8f5eb1401e4fffed Mon Sep 17 00:00:00 2001 From: Nickolay Olshevsky Date: Thu, 1 Feb 2024 12:05:53 +0200 Subject: [PATCH] Update timemachine workflows. --- .github/workflows/time-machine.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/time-machine.yml b/.github/workflows/time-machine.yml index c121690e64..c6e9532987 100644 --- a/.github/workflows/time-machine.yml +++ b/.github/workflows/time-machine.yml @@ -140,9 +140,9 @@ jobs: - { name: 'Fedora 36', container: 'fedora-36-amd64', backend: 'OpenSSL' } date-offset: - - '0 years' - - '1 year' - - '5 years' + - '+0y' + - '+1y' + - '+5y' container: ghcr.io/rnpgp/ci-rnp-${{ matrix.image.container }} @@ -182,8 +182,7 @@ jobs: if: matrix.date-offset != '0 years' run: | set -o errexit -o pipefail -o noclobber -o nounset - adjusted_date=$(date -d '${{ matrix.date-offset }}' '+%Y-%m-%d') - echo FAKETIME="@$adjusted_date 00:00:00" >> $GITHUB_ENV + echo FAKETIME="${{ matrix.date-offset }}" >> $GITHUB_ENV - name: Test run: |