Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryohidaka/composite-action-template
Template to create composite-action for GitHub Actions.
https://github.com/ryohidaka/composite-action-template
actions composite-action github-actions template
Last synced: about 1 month ago
JSON representation
Template to create composite-action for GitHub Actions.
- Host: GitHub
- URL: https://github.com/ryohidaka/composite-action-template
- Owner: ryohidaka
- License: mit
- Created: 2024-08-16T08:37:09.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T10:34:46.000Z (2 months ago)
- Last Synced: 2024-09-29T23:23:35.439Z (about 2 months ago)
- Topics: actions, composite-action, github-actions, template
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# composite-action-template
[![GitHub Release](https://img.shields.io/github/v/release/ryohidaka/composite-action-template)](https://github.com/ryohidaka/composite-action-template/releases/)
[![Test Action](https://github.com/ryohidaka/composite-action-template/actions/workflows/test.yml/badge.svg)](https://github.com/ryohidaka/composite-action-template/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B6TVH92)
Template to create composite-action for GitHub Actions.
## Usage
```yml
on: [push]permissions:
contents: writejobs:
bump-uses:
runs-on: ubuntu-latest
steps:
- uses: ryohidaka/[email protected]
with:
who-to-greet: "Mona the Octocat"- run: echo random-number "$RANDOM_NUMBER"
shell: bash
env:
RANDOM_NUMBER: ${{ steps.foo.outputs.random-number }}
```## Inputs
| Input | Description | Required | Default |
| -------------- | ------------ | -------- | ------- |
| `who-to-greet` | Who to greet | ✅ | `World` |## Outputs
| Output | Description | Example |
| --------------- | ------------- | ------- |
| `random-number` | Random number | `9999` |