fix action useage of date command (#545)
This commit is contained in:
parent
6c5d6d167c
commit
84fae9e215
2
.github/workflows/ci_test_cleanup.yml
vendored
2
.github/workflows/ci_test_cleanup.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user