Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jahredhope/github-action-example
Demo for creating GitHub Action
https://github.com/jahredhope/github-action-example
Last synced: 16 days ago
JSON representation
Demo for creating GitHub Action
- Host: GitHub
- URL: https://github.com/jahredhope/github-action-example
- Owner: jahredhope
- Created: 2022-07-23T04:54:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-23T13:44:34.000Z (over 2 years ago)
- Last Synced: 2024-10-19T02:00:29.724Z (29 days ago)
- Language: Shell
- Size: 207 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# GitHub Action Example
An example project for setting up a GitHub action.
- Automated versioning and release notes with [Changesets](https://github.com/changesets/changesets)
- Bundling with [@vercel/ncc](https://github.com/vercel/ncc)
- Compiling and committing by tag. Avoiding adding built assets to the commit history and allowing flexible version selection.## Usage
```yaml
name: "example-workflow"on:
push:jobs:
example-job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3- name: Example action
# By major version
uses: jahredhope/github-action-demo@v1
# By minor version
uses: jahredhope/[email protected]
# By patch version
uses: jahredhope/[email protected]
# By commit
uses: jahredhope/github-action-demo@va84c1b7edd8162daf28f75ce56fd533465daa741
```