Skip to content

Commit 6c4d96c

Browse files
committed
Add the WASM to the artifacts step
1 parent 85f286c commit 6c4d96c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/benchmarks-run.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ jobs:
4141
path: target/release/frequency
4242
retention-days: 3
4343

44+
- name: Upload WASM Build Artifacts
45+
uses: actions/upload-artifact@v4
46+
with:
47+
name: wasm-artifacts
48+
path: target/release/wbuild
49+
retention-days: 3
50+
4451
run-benchmarks:
4552
if: github.repository == 'frequency-chain/frequency'
4653
name: Run Benchmarks
@@ -61,12 +68,21 @@ jobs:
6168
with:
6269
ref: ${{github.event.inputs.branch}}
6370

71+
- name: Create Target Directory
72+
run: mkdir -p target/release
73+
6474
- name: Download Benchmark Binary
6575
uses: actions/download-artifact@v4
6676
with:
6777
name: benchmark-binary
6878
path: target/release
6979

80+
- name: Download WASM Build Artifacts
81+
uses: actions/download-artifact@v4
82+
with:
83+
name: wasm-artifacts
84+
path: target/release/wbuild
85+
7086
- name: Make Binary Executable
7187
run: chmod +x target/release/frequency
7288

0 commit comments

Comments
 (0)