-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (33 loc) · 871 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
name: Release CI
## TODO: set-output is deprecated and will be removed soon
## Best to find a workflow that's actually updated
# yamllint disable-line rule:truthy
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build
run: |
rustup target add wasm32-unknown-unknown
cargo install wasm-pack
wasm-pack build --no-default-features
pushd www
npm install
npm run build
popd
- name: Tar dist
run: tar -C www/ -czf its-a-unix-system.tar.gz dist
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: its-a-unix-system.tar.gz
body: Look at me I'm a release haha