We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
steps
I've used this to try and print the steps context:
name: "Info from repo" on: [pull_request] jobs: obtain-repo: runs-on: ubuntu-latest steps: - name: get-diff uses: JJ/github-pr-contains-action@releases/v1 with: github-token: ${{github.token}} filesChanged: 1 - name: dump-steps-test env: STEPS_CONTEXT: ${{ toJson(steps) }} run: echo "$STEPS_CONTEXT" - name: obtain-repo uses: JJ/repo-in-diff-gh-action@releases/v0 with: diff: ${{steps.get-diff.outputs.diff}}
But it's apparently empty. Any idea?
The text was updated successfully, but these errors were encountered:
steps uses the step id, not the name. So in your previous step it would need to be something like:
- id: get-diff name: get-diff uses: JJ/github-pr-contains-action@releases/v1 with: github-token: ${{github.token}} filesChanged: 1
Sorry, something went wrong.
Thanks!
No branches or pull requests
I've used this to try and print the
steps
context:But it's apparently empty. Any idea?
The text was updated successfully, but these errors were encountered: