github is unhappy with me copying stuff around, uuuugggggghhhhhhhhhhhhhhhhhhhhhhhhhh
19 lines
641 B
YAML
19 lines
641 B
YAML
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: |
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-install.sh
|
|
chmod +x rustup-install.sh
|
|
./rustup-install.sh -y
|
|
- run: $HOME/.cargo/bin/rustup target add wasm32-unknown-unknown
|
|
- run: $HOME/.cargo/bin/cargo install --locked trunk
|
|
- uses: actions/checkout@v4
|
|
- run: $HOME/.cargo/bin/trunk build --release
|
|
working-directory: web/
|
|
- run: $HOME/.cargo/bin/cargo build --release --features=web
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
path: target/release/upub
|