Skip to content

Commit

Permalink
Small improvements in test workflow
Browse files Browse the repository at this point in the history
Make easier to read the log.
  • Loading branch information
Ana06 committed Jul 27, 2021
1 parent 7893294 commit ea75ed7
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ jobs:
uses: actions/checkout@v2

- id: files
name: Run the action
uses: ./
with:
filter: '*'
name: Run the action without filtering

- name: Print files
run: |
Expand All @@ -96,10 +93,9 @@ jobs:
echo 'steps.files.outputs.removed=${{ steps.files.outputs.removed }}'
echo 'steps.files.outputs.renamed=${{ steps.files.outputs.renamed }}'
echo 'steps.files.outputs.added_modified=${{ steps.files.outputs.added_modified }}'
- id: files-filtered
name: Run the action
uses: ./
name: Run the action with filtering
with:
filter: |
*.yml
Expand All @@ -108,7 +104,6 @@ jobs:
*.ts
package*
!*.json
- name: Print files-filtered
run: |
Expand All @@ -118,4 +113,4 @@ jobs:
echo 'steps.files-filtered.outputs.removed=${{ steps.files-filtered.outputs.removed }}'
echo 'steps.files-filtered.outputs.renamed=${{ steps.files-filtered.outputs.renamed }}'
echo 'steps.files-filtered.outputs.added_modified=${{ steps.files-filtered.outputs.added_modified }}'

0 comments on commit ea75ed7

Please sign in to comment.