Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Test Workflow
on: [push]
jobs:
test-workflow:
runs-on: ubuntu-latest
steps:
- uses: twincities-os/github-actions-examples@main
with:
MODEL_VERSION: 'v1.0'
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
# GitHub Actions Examples
# GitHub Actions Examples

An example of building out a GitHub Action.

## Usage

Reference this action in your workflow:

```yaml
- uses: twincities-os/github-actions-examples@main
with:
MODEL_VERSION: 'v1.0'
```

## Local Development

### Prerequisites for Testing Locally

- [Docker](https://docs.docker.com/get-docker/)
- [nektos/act](https://nektosact.com/installation/index.html) for local testing

### Testing Locally

```bash
# Run from repository root
act
```

### Testing in External Repository

Test your changes by referencing the action from another repository, such as [test-github-actions](https://github.com/branberry/test-github-actions/blob/main/.github/workflows/ci.yml#L7-L9).