Skip to content

Commit

Permalink
Add automatic building
Browse files Browse the repository at this point in the history
  • Loading branch information
Property404 committed Nov 3, 2024
1 parent e0f8c30 commit 49565db
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release CI

Check warning on line 1 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / build

1:1 [document-start] missing document start "---"

on: [push]

Check warning on line 3 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / build

3:1 [truthy] truthy value should be one of [false, true]

jobs:
build:
runs-on: ubuntu-latest
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: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: iaus-release
path: www/dist

0 comments on commit 49565db

Please sign in to comment.