mirror of
https://githubfast.com/actions/checkout.git
synced 2024-10-30 16:50:46 +00:00
Format timestamp with four-digit year
This commit is contained in:
parent
d586cd8194
commit
c5b558b9fd
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…
Reference in New Issue
Block a user