Skip to content

Explain what this does better than the native syntax? #5

Description

@jorhett

It's hard to grasp why this action exists, as this feature set is built into Actions today. If this provides a value not provided by GitHub Actions syntax you should add it to the documentation.

The documentation's example runs exactly the same, and much faster, written as the following:

jobs:
  something:
    name: Do something...
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
    
      - id: post-run-command
        needs: non-existent-command
        if: ${{ always() }}
        run: echo "this thing works!"

      - id: another-post-run-command
        needs: non-existent-command
        if: ${{ always() }}
        run: echo "this thing works again!"
        working-directory: not-required-but-you-can-provide-it

      - id: non-existent-command
        name: 'Running an non-existing command will fail...'
        run: run something that does not exist;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions