Skip to content

Yet another GitHub Actions toolkit for value assertion

License

Notifications You must be signed in to change notification settings

wooseopkim/assert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assert

What this is

Yet another GitHub Actions toolkit for value assertion.

Why use this

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.

Using outputs instead

    - id: assert
      uses: wooseopkim/assert/eq@v1
      with:
        x: 1
        eq: 2
    - if: always()
      run: |
        echo ${{ steps.assert.outputs.ok }}

About

Yet another GitHub Actions toolkit for value assertion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published