Skip to content

Commit 0d4ba16

Browse files
committed
exe export tests - cables-gl/cables/issues/7639
1 parent 75a6f3c commit 0d4ba16

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

.github/workflows/tests.yml

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,28 @@ jobs:
5050
npm install --no-save
5151
npm run build
5252
touch scss/svgicons.scss
53-
# - name: checkout electron for exe export
54-
# uses: schloe/action-cached-lfs-checkout@v1
55-
# with:
56-
# repository: "cables-gl/cables-exe-export"
57-
# ref: develop
58-
# token: ${{ secrets.undev_token }}
59-
# - name: move exe export repostitory
60-
# run: |
61-
# mv cables-gl/cables-exe-export electron
53+
- name: checkout electron for exe export
54+
uses: actions/checkout@v4
55+
with:
56+
repository: "cables-gl/cables-exe-export"
57+
ref: develop
58+
token: ${{ secrets.undev_token }}
59+
path: "electron"
60+
fetch-depth: 0
61+
- name: create exe-export LFS file list
62+
run: |
63+
cd electron/
64+
git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
65+
- name: restore exe-export LFS cache
66+
uses: actions/cache@v2
67+
id: exe-export-lfs-cache
68+
with:
69+
path: electron/.git/lfs
70+
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1
71+
- name: pull exe-export LFS files
72+
run: |
73+
cd electron/
74+
git lfs pull
6275
- name: export tests
6376
run: |
6477
cd cables_api/

0 commit comments

Comments
 (0)