Yet another GitHub Actions toolkit for value assertion.
Minimal API. All you have to remember is:
- uses: <my name>/assert/<action name>@<ref>
with:
x: <value>
<action name>: <the other value>
For example,
- uses: wooseopkim/assert/eq@v1
with:
x: 1
eq: 1
For valid <action name>
values, see directories in templates
which have .env
files.
- id: assert
uses: wooseopkim/assert/eq@v1
with:
x: 1
eq: 2
- if: always()
run: |
echo ${{ steps.assert.outputs.ok }}