Skip to content

Commit

Permalink
adding output value for create issue
Browse files Browse the repository at this point in the history
  • Loading branch information
amankumarrr committed Mar 29, 2024
1 parent 934e772 commit 8bf2ea3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/daily-image-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,22 @@ jobs:
steps:
- name: Playwright Artifact
id: results
shell: pwsh
run: |
echo "Test passed : ${{ needs.check-broken-images.outputs.testPassed }}"
echo "Artifact Id: ${{ needs.check-broken-images.outputs.artifact-id }}"
echo "Create Issue: ${{ env.create_issue }}"
echo "Test Pass condition: ${{ needs.check-broken-images.outputs.testPassed == 'False'}}"
echo "Condition: ${{ env.create_issue && needs.check-broken-images.outputs.testPassed == 'False'}}"
echo "create_issue:'${{ env.create_issue }}'" >> $GITHUB_OUTPUT
echo "create_issue=${{ env.create_issue }}'" >> $GITHUB_OUTPUT
create-an-issue:
name: GitHub Issue
runs-on: ubuntu-latest
needs:
- check-broken-images
- test-output
if: ${{ needs.test-output.outputs.create_issue == true && needs.check-broken-images.outputs.testPassed == 'False'}}
if: ${{ needs.test-output.outputs.create_issue && needs.check-broken-images.outputs.testPassed == 'False'}}
steps:
- name: Playwright Artifact
run: |
Expand Down

0 comments on commit 8bf2ea3

Please sign in to comment.