mirror of
https://github.com/actions/checkout.git
synced 2025-03-28 11:00:05 +01:00
Format timestamp with four-digit year
This commit is contained in:
parent
d586cd8194
commit
c5b558b9fd
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update-test-ubuntu-git.yml
vendored
2
.github/workflows/update-test-ubuntu-git.yml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
|||
- name: Format Timestamp
|
||||
id: timestamp
|
||||
# Use `date` with a custom format to achieve the key=value format GITHUB_OUTPUT expects.
|
||||
run: date -u "+now=%y%m%d.%H%M%S.%3NZ" >> "$GITHUB_OUTPUT"
|
||||
run: date -u "+now=%Y%m%d.%H%M%S.%3NZ" >> "$GITHUB_OUTPUT"
|
||||
|
||||
# Use `docker/build-push-action` to build (and optionally publish) the image.
|
||||
- name: Build and push Docker image
|
||||
|
|
Loading…
Add table
Reference in a new issue