Skip to content

Commit 597eae3

Browse files
authored
CI: Upload artifacts before running tests
This way we can access artifacts to investigate locally if the tests fail.
1 parent b880882 commit 597eae3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,15 @@ jobs:
88
steps:
99
- uses: actions/checkout@v1
1010
- uses: mymindstorm/setup-emsdk@v1
11-
with:
12-
version: '1.39.8-fastcomp'
11+
with: {version: '1.39.8-fastcomp'}
1312
- uses: actions/cache@v1
1413
id: cache
1514
with:
1615
path: ~/.emscripten_cache
1716
key: emscripten-1.39.8-fastcomp
1817
- name: make
1918
run: make
19+
- uses: actions/upload-artifact@master
20+
with: {name: dist, path: dist}
2021
- name: test
2122
run: npm ci && npm test
22-
- uses: actions/upload-artifact@master
23-
with:
24-
name: dist
25-
path: dist

0 commit comments

Comments
 (0)