Skip to content

Commit

Permalink
Update timemachine workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 committed Feb 1, 2024
1 parent 5a03578 commit 225315e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/time-machine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 225315e

Please sign in to comment.