Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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 }}'
```