File tree Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -18,25 +18,16 @@ jobs:
18
18
runs-on : ${{ matrix.os }}
19
19
env :
20
20
DOCKER_CLI_EXPERIMENTAL : " enabled"
21
+ flags : " "
21
22
steps :
22
- - shell : bash
23
- run : |
24
- if test '${{ github.event_name }}' = "workflow_dispatch"; then
25
- echo "flags=--nightly" >> $GITHUB_ENV
26
- else
27
- echo "flags=" >> $GITHUB_ENV
28
- fi
29
- case '${{ matrix.os }}' in
30
- ubuntu-latest)
31
- echo "goos=linux" >> $GITHUB_ENV
32
- ;;
33
- macos-latest)
34
- echo "goos=darwin" >> $GITHUB_ENV
35
- ;;
36
- windows-latest)
37
- echo "goos=windows" >> $GITHUB_ENV
38
- ;;
39
- esac
23
+ - if : ${{ github.event_name == 'workflow_dispatch' }}
24
+ run : echo "flags=--nightly" >> $GITHUB_ENV
25
+ - if : matrix.os == 'ubuntu-latest'
26
+ run : echo "goos=linux" >> $GITHUB_ENV
27
+ - if : matrix.os == 'macos-latest'
28
+ run : echo "goos=darwin" >> $GITHUB_ENV
29
+ - if : matrix.os == 'windows-latest'
30
+ run : echo "goos=windows" >> $GITHUB_ENV
40
31
- uses : actions/checkout@v3
41
32
with :
42
33
fetch-depth : 0
You can’t perform that action at this time.
0 commit comments