Skip to content

Commit

Permalink
ci: fix changed-files action options
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed May 14, 2024
1 parent 3829c5a commit c584448
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@v44
with:
files_yaml: |
circuits:
- packages/**/*.{circom,json,ts}
files: |
packages/**/*.{circom,json,ts}
- if: steps.changed-files.outputs.circuits_any_changed == 'true'
- if: steps.changed-files.outputs.any_changed == 'true'
name: Test circuits
run: yarn test
7 changes: 3 additions & 4 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@v44
with:
files_yaml: |
circuits:
- packages/**/*.{circom,json,ts}
files: |
packages/**/*.{circom,json,ts}
- if: steps.changed-files.outputs.circuits_any_changed == 'true'
- if: steps.changed-files.outputs.any_changed == 'true'
name: Test circuits
run: yarn test

0 comments on commit c584448

Please sign in to comment.