Skip to content

Commit 9622993

Browse files
committed
test again
1 parent 2c22f29 commit 9622993

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

.github/workflows/test.yml

+26-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,18 @@ jobs:
1515
build:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
18+
- name: Checkout
19+
uses: actions/checkout@v3
1920

2021
- name: Build
2122
run: ./build-in-docker.sh
2223

24+
- name: Upload binary
25+
uses: actions/upload-artifact@v3
26+
with:
27+
name: sweat-jar
28+
path: res/sweat_jar.wasm
29+
2330
unit-tests:
2431
needs: [ build ]
2532
runs-on: ubuntu-latest
@@ -33,15 +40,31 @@ jobs:
3340
needs: [ build ]
3441
runs-on: ubuntu-latest
3542
steps:
36-
- uses: actions/checkout@v3
37-
43+
- name: Checkout
44+
uses: actions/checkout@v3
45+
46+
- name: Download binary
47+
uses: actions/download-artifact@v3
48+
with:
49+
name: sweat-jar
50+
path: res/sweat_jar.wasm
51+
3852
- name: Integration tests
3953
run: cargo run -p integration-tests
4054

4155
push:
4256
needs: [ unit-tests, integration-tests ]
4357
runs-on: ubuntu-latest
4458
steps:
59+
- name: Checkout
60+
uses: actions/checkout@v3
61+
62+
- name: Download binary
63+
uses: actions/download-artifact@v3
64+
with:
65+
name: sweat-jar
66+
path: res/sweat_jar.wasm
67+
4568
- name: Commit & Push changes
4669
uses: actions-js/push@master
4770
with:

0 commit comments

Comments
 (0)