Skip to content

Commit

Permalink
try any_changed
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHaff committed Feb 27, 2024
1 parent 2250264 commit df6b838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# NOTE: Ensure all outputs are prefixed by the same key used above e.g. `test_(...)` | `doc_(...)` | `src_(...)` when trying to access the `any_changed` output.
if: steps.changed-files.outputs.any_changed == 'true'
env:
TEST_ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
TEST_ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.any_changed_files }}
run: |
echo "One or more test file(s) has changed."
echo "List all the files that have changed: $TEST_ALL_CHANGED_FILES"
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
name: 'Common'
working-directory: 'packages/common'
- name: Report Event-Producer Coverage
if: steps.changed-files.outputs.event-producer_all_changed_files
if: steps.changed-files.outputs.event-producer_any_changed
uses: davelosert/vitest-coverage-report-action@v2
with:
name: 'Event Producer'
Expand Down

0 comments on commit df6b838

Please sign in to comment.