File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 40
40
41
41
env :
42
42
OPAMYES : " true"
43
+ OPAMCONFIRMLEVEL : " unsafe-yes"
43
44
44
45
steps :
45
46
- name : Set up OCaml
97
98
if : ${{ runner.os == 'Windows' }}
98
99
99
100
- name : Work around https://github.com/actions/checkout/issues/766 / https://github.com/ocaml/setup-ocaml/issues/479 / https://github.com/actions/checkout/issues/767 / https://github.com/actions/checkout/issues/760
100
- run : |
101
- %CYGWIN_ROOT%\bin\bash.exe -l -c 'git config --global --add safe.directory "*"'
102
- shell : cmd
101
+ run : opam exec -- git config --global --add safe.directory "*"
103
102
if : ${{ runner.os == 'Windows' }}
104
103
105
104
- name : echo opam build params
@@ -150,9 +149,7 @@ jobs:
150
149
if : ${{ always() && runner.os == 'Windows' }}
151
150
152
151
- name : cat opam logs (Windows)
153
- run : |
154
- %CYGWIN_ROOT%\bin\bash.exe -l -c 'for i in $(find ~/.opam/log/ -type f); do echo "::group::$i"; cat "$i"; echo "::endgroup::"; done'
155
- shell : cmd
152
+ run : opam exec -- bash -l -c 'for i in $(find ~/.opam/log/ -type f); do echo "::group::$i"; cat "$i"; echo "::endgroup::"; done'
156
153
if : ${{ always() && runner.os == 'Windows' }}
157
154
158
155
- run : opam list
You can’t perform that action at this time.
0 commit comments