File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,10 @@ runs:
26
26
# The composite action requires an explict shell, but bash is not available on windows-arm64 runner.
27
27
# For the following commands conditionally use bash or powershell based on the runner.os:
28
28
- run : dart pub get
29
- if : runner.os != 'Windows'
30
- shell : bash
31
-
32
- - run : dart pub get
33
- if : runner.os == 'Windows'
34
- shell : powershell
29
+ shell : ${{ runner.os == 'Windows' && 'powershell' || 'bash' }}
35
30
36
31
- run : npm install
37
- if : runner.os != 'Windows'
38
- shell : bash
39
-
40
- - run : npm install
41
- if : runner.os == 'Windows'
42
- shell : powershell
32
+ shell : ${{ runner.os == 'Windows' && 'powershell' || 'bash' }}
43
33
44
34
-
uses :
bufbuild/[email protected]
45
35
with : {github_token: "${{ inputs.github-token }}"}
59
49
with : {repository: sass/sass, path: build/language}
60
50
61
51
- name : Generate Dart from protobuf
62
- if : runner.os != 'Windows'
63
52
run : dart run grinder protobuf
64
53
env : {UPDATE_SASS_SASS_REPO: false}
65
- shell : bash
66
-
67
- - name : Generate Dart from protobuf
68
- if : runner.os == 'Windows'
69
- run : dart run grinder protobuf
70
- env : {UPDATE_SASS_SASS_REPO: false}
71
- shell : powershell
54
+ shell : ${{ runner.os == 'Windows' && 'powershell' || 'bash' }}
You can’t perform that action at this time.
0 commit comments