parent
8753fb1832
commit
d1e4b10c10
|
@ -5,10 +5,11 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: rust:slim-bookworm
|
image: rust:slim-bookworm
|
||||||
steps:
|
steps:
|
||||||
- run: apt-get update -y && apt-get install -y nodejs git
|
- run: apt-get update -y && apt-get install -y nodejs git curl
|
||||||
- run: cargo install trunk
|
- run: curl -L https://github.com/trunk-rs/trunk/releases/download/v0.19.1/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
|
||||||
|
- run: rustup target add wasm32-unknown-unknown
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- run: trunk build --release --public-url '.'
|
- run: ./trunk build --release --public-url '.'
|
||||||
- run: |
|
- run: |
|
||||||
cd dist
|
cd dist
|
||||||
git init
|
git init
|
||||||
|
|
Loading…
Reference in a new issue