Skip to content

Commit 3fd5ec2

Browse files
committed
fix cache key, and remove CYGWIN_ROOT_WRAPPERBIN from PATH
1 parent f816715 commit 3fd5ec2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ jobs:
248248
.opam-env
249249
D:\cygwin
250250
D:\.opam
251-
key: opam-env-v10-${{ matrix.os }}-${{ hashFiles('dune-project') }}
251+
key: opam-env-v1-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('dune-project') }}
252252

253253
- name: Use OCaml ${{matrix.ocaml_compiler}}
254254
uses: ocaml/setup-ocaml@v3.0.0
@@ -281,7 +281,7 @@ jobs:
281281
.opam-env
282282
D:\cygwin
283283
D:\.opam
284-
key: opam-env-v10-${{ matrix.os }}-${{ hashFiles('dune-project') }}
284+
key: opam-env-v1-${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('dune-project') }}
285285

286286
- name: Use cached OPAM environment
287287
if: steps.cache-opam-env.outputs.cache-hit == 'true'
@@ -321,8 +321,6 @@ jobs:
321321
echo "CYGWIN_ROOT=$CYGWIN_ROOT" >> "$GITHUB_ENV"
322322
echo "CYGWIN_ROOT_BIN=$CYGWIN_ROOT_BIN" >> "$GITHUB_ENV"
323323
echo "CYGWIN_ROOT_WRAPPERBIN=$CYGWIN_ROOT_WRAPPERBIN" >> "$GITHUB_ENV"
324-
325-
echo "$CYGWIN_ROOT_WRAPPERBIN" >> "$GITHUB_PATH"
326324
fi
327325
shell: bash
328326

0 commit comments

Comments
 (0)