Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 8f5a5ca

Browse files
committed
CI
1 parent e5e9676 commit 8f5a5ca

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

.github/workflows/export-wws.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@ jobs:
77
build:
88
runs-on: ubuntu-latest
99
steps:
10-
- name: build
11-
run: |
12-
clang script.c -I header --target=wasm32-unknown-unknown \
13-
--optimize=3 -nostdlib -nostdlibinc -nostdinc -nostdinc++ \
14-
-Wl,--no-entry -Wl,--export-all -Wl,--error-limit=0 \
15-
-Wl,--allow-undefined --wasm-opt --output %script%.wasm
10+
- name: checkout
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
1614

17-
- name: export
18-
run: |
19-
curl -F "data=@./script.wasm" "https://www.d1ag0n.com/api/Wasm/Upload/${{secrets.API_UPLOAD_KEY}}"
15+
- name: build
16+
run: |
17+
clang script.c -I header --target=wasm32-unknown-unknown \
18+
--optimize=3 -nostdlib -nostdlibinc -nostdinc -nostdinc++ \
19+
-Wl,--no-entry -Wl,--export-all -Wl,--error-limit=0 \
20+
-Wl,--allow-undefined --wasm-opt --output %script%.wasm
21+
22+
- name: export
23+
run: |
24+
curl -F "data=@./script.wasm" "https://www.d1ag0n.com/api/Wasm/Upload/${{secrets.API_UPLOAD_KEY}}"

0 commit comments

Comments
 (0)