Skip to content

Commit 84d8eb3

Browse files
committed
Fix empty include/exclude on workflow
1 parent b4662dc commit 84d8eb3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/base_tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ concurrency:
2424

2525
jobs:
2626
delete_cache:
27+
name: Delete github action's branch cache
2728
runs-on: ubuntu-latest
2829
steps:
2930
- uses: snnaplab/delete-branch-cache-action@v1
@@ -54,8 +55,8 @@ jobs:
5455
nim-branch:
5556
- version-1-6
5657
- version-2-0
57-
include: ${{ fromJSON(inputs.include) }}
58-
exclude: ${{ fromJSON(inputs.exclude) }}
58+
include: ${{ fromJSON(inputs.include) || [] }}
59+
exclude: ${{ fromJSON(inputs.exclude) || [] }}
5960

6061
defaults:
6162
run:

0 commit comments

Comments
 (0)