Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Commit b83824f

Browse files
committed
Compress files and avoid permission issues
1 parent 73b866c commit b83824f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
steps:
1919
- uses: actions/[email protected]
2020

21-
# - name: Cache OCaml's opam
22-
# uses: actions/[email protected]
23-
# with:
24-
# path: ~/.opam
25-
# key: ${{matrix.os}}-latest-ocaml-4.06.1
21+
- name: Cache OCaml's opam
22+
uses: actions/[email protected]
23+
with:
24+
path: ~/.opam
25+
key: ${{matrix.os}}-latest-ocaml-4.06.1
2626

2727
- name: Use OCaml
2828
uses: avsm/[email protected]
@@ -46,7 +46,12 @@ jobs:
4646
- run: "& $env:CYGWIN_ROOT\\bin\\ocaml-env exec -- make"
4747
if: matrix.os == 'windows-latest'
4848

49+
# Also avoids artifacts upload permission loss:
50+
# https://github.com/actions/upload-artifact/tree/ee69f02b3dfdecd58bb31b4d133da38ba6fe3700#permission-loss
51+
- name: Compress files
52+
run: tar -cvf rescript-editor-support.tar lib/rescript-editor-support.exe
53+
4954
- uses: actions/upload-artifact@v2
5055
with:
5156
name: ${{matrix.os}}-rescript-editor-support.exe
52-
path: lib/rescript-editor-support.exe
57+
path: rescript-editor-support.tar

0 commit comments

Comments
 (0)