From 090ce5c1721b1109355c7f750235e38916dc9949 Mon Sep 17 00:00:00 2001 From: ohuu Date: Tue, 27 Aug 2024 13:38:28 +0100 Subject: [PATCH] added support for windows --- .github/workflows/release.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e8fca59..cfa0c6d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,17 +50,14 @@ jobs: with: node-version: "20.x" - - name: Install NodeJS dependencies - run: npm --prefix ui install - - name: Build UI - run: npm --prefix ui run build:release + run: cd ui && npm install && npm run build:release - name: Setup Rust uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Build Cardamon - run: cargo build --release + run: cd ../ && cargo build --release - name: Build release artifact run: | @@ -91,11 +88,8 @@ jobs: with: node-version: "20.x" - - name: Install NodeJS dependencies - run: npm --prefix ui install - - name: Build UI - run: npm --prefix ui run build:release + run: cd ui && npm install && npm run build:release - name: Setup Rust uses: actions-rust-lang/setup-rust-toolchain@v1