Skip to content

Commit

Permalink
fix for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dannymeijer committed Jun 7, 2024
1 parent 4f53a16 commit 9f2f92d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ jobs:
id: check
run: |
BASE_REF=${{ github.event.pull_request.base.ref || 'main' }}
echo "python_changed=$(git diff --name-only $BASE_REF ${{ github.event.after }} | grep '\.py$')" >> "$GITHUB_OUTPUT"
echo "toml_changed=$(git diff --name-only $BASE_REF ${{ github.event.after }} | grep '\.toml$')" >> "$GITHUB_OUTPUT"
python_changed=$(git diff --name-only $BASE_REF ${{ github.event.after }} | grep '\.py$')
toml_changed=$(git diff --name-only $BASE_REF ${{ github.event.after }} | grep '\.toml$')
echo "::set-output name=python_changed::$python_changed"
echo "::set-output name=toml_changed::$toml_changed"
tests:
needs: check_changes
Expand Down

0 comments on commit 9f2f92d

Please sign in to comment.