Skip to content

Commit

Permalink
ci: replace github output with github env var
Browse files Browse the repository at this point in the history
  • Loading branch information
necipallef committed Sep 25, 2024
1 parent 0e1f9cb commit 4f1ed3e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/e2e_test_for_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ jobs:
check-changed-files:
runs-on: ubuntu-20.04
name: Check changed files
outputs:
NEED_TO_RUN_TESTS: ${{ steps.decision.outputs.NEED_TO_RUN_TESTS }}
steps:
- id: files
uses: jitterbit/get-changed-files@b17fbb00bdc0c0f63fcf166580804b4d2cdc2a42
Expand All @@ -24,9 +22,10 @@ jobs:
fi
done
echo $needToRunTests
echo NEED_TO_RUN_TESTS=${needToRunTests} >> $GITHUB_OUTPUT
echo NEED_TO_RUN_TESTS=${needToRunTests} >> $GITHUB_ENV
run-e2e-for-topic-branch:
if: needs['check-changed-files'].outputs.NEED_TO_RUN_TESTS == 'true'
needs: check-changed-files
if: ${{ env.NEED_TO_RUN_TESTS }} == 'true'
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
Expand Down

0 comments on commit 4f1ed3e

Please sign in to comment.