File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
name : Find changed apps
8
8
runs-on : ubuntu-latest
9
9
outputs :
10
- exampleChanged : ${{ steps.filter.outputs.examples == 'true' }}
10
+ exampleChanged : ${{ steps.filter.outputs.examples }}
11
11
exampleNames : ${{ steps.find.outputs.result }}
12
12
steps :
13
13
- name : 🏗️ Setup repo
24
24
- id : find
25
25
name : 📱 Find changed examples
26
26
uses : actions/github-script@v5
27
- if : steps.filter.outputs.examples == 'true'
27
+ if : ${{ steps.filter.outputs.examples == 'true' }}
28
28
with :
29
29
script : |
30
30
// Load all changed files to dynamically fetch the app names
@@ -34,12 +34,12 @@ jobs:
34
34
return [...new Set(changes.map(file => path.dirname(file).split('/', 1)[0]))]
35
35
publish :
36
36
needs : changed
37
- if : needs.changed.outputs.exampleChanged
37
+ if : ${{ needs.changed.outputs.exampleChanged == 'true' }}
38
38
name : Publish
39
39
runs-on : ubuntu-latest
40
40
strategy :
41
41
matrix :
42
- example : ${{ fromJSON(needs.changed.outputs.exampleNames) }}
42
+ example : ${{ fromJSON(needs.changed.outputs.exampleNames || '[]' ) }}
43
43
defaults :
44
44
run :
45
45
working-directory : ${{ matrix.example }}
You can’t perform that action at this time.
0 commit comments