Repository consists with PoCs; github action test, sandbox, etc.
Describe how to use your action here.
name: My Workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run action
# Put your action repo here
uses: me/myaction@master
# Put an example of your mandatory inputs here
with:
myInput: world| Input | Description |
|---|---|
myInput |
An example mandatory input |
anotherInput (optional) |
An example optional input |
| Output | Description |
|---|---|
myOutput |
An example output (returns 'Hello world') |
NOTE: People ❤️ cut and paste examples. Be generous with them!
This is how to use the optional input.
with:
myInput: world
anotherInput: optionalShow people how to use your outputs in another action.
steps:
- uses: actions/checkout@master
- name: Run action
id: myaction
# Put your action name here
uses: me/myaction@master
# Put an example of your mandatory arguments here
with:
myInput: world
# Put an example of using your outputs here
- name: Check outputs
run: |
echo "Outputs - ${{ steps.myaction.outputs.myOutput }}"