Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yykamei/actions-date
A composite GitHub Actions that outputs datetime with date(1)
https://github.com/yykamei/actions-date
Last synced: 10 days ago
JSON representation
A composite GitHub Actions that outputs datetime with date(1)
- Host: GitHub
- URL: https://github.com/yykamei/actions-date
- Owner: yykamei
- License: mit
- Created: 2021-09-28T11:53:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T23:53:46.000Z (4 months ago)
- Last Synced: 2024-11-01T04:12:24.669Z (about 2 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# actions-date
A composite GitHub Actions that outputs datetime with date(1)
```yaml
name: Test
on:
push:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- id: default
uses: yykamei/actions-date@main
- id: with-format
uses: yykamei/actions-date@main
with:
format: '%Y-%m-%dT%H:%M:%S'
- run: echo '${{ steps.default.outputs.date }}'
- run: echo '${{ steps.with-format.outputs.date }}'
```