From 49565dbc87f806e39b07d58712d87e9e583182da Mon Sep 17 00:00:00 2001 From: Property404 Date: Sun, 3 Nov 2024 09:28:14 -0600 Subject: [PATCH] Add automatic building --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..6d57987 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,24 @@ +name: Release CI + +on: [push] + +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