Skip to content

Commit 821a1e4

Browse files
committed
refactor: add prerelease workflow
1 parent 6d2792e commit 821a1e4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/pre-release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
push:
3+
tags:
4+
- "v*-rc*"
5+
- "v*-alpha*"
6+
- "v*-beta*"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Build WASM module
15+
run: |
16+
./src/wasm_navdata_interface/scripts/run_docker_cmd.sh ./scripts/build.sh
17+
- name: Release
18+
uses: softprops/action-gh-release@v1
19+
with:
20+
files: ./src/wasm_navdata_interface/out/navdata_interface.wasm
21+
prerelease: true

0 commit comments

Comments
 (0)