fix action useage of date command (#545)

This commit is contained in:
Keepers 2022-08-12 18:25:23 -06:00 committed by GitHub
parent 6c5d6d167c
commit 84fae9e215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ jobs:
# The additional 10 minutes is just to be good citizens.
- name: Set purge boundary
run: |
echo "HALF_HOUR_AGO=$(date -u -v-30M --iso-8601=seconds)" >> $GITHUB_ENV
echo "HALF_HOUR_AGO=$(date -d '30 minutes ago' -u +"%Y-%m-%dT%H:%M:%SZ")" >> $GITHUB_ENV
echo "set half hour ago to: ${{ env.HALF_HOUR_AGO }}"
# run the folder purge