From dc01213f9c4fb06718adcfb05e3bc4f2572ce438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=92=A9?= <69432552+unchidev@users.noreply.github.com> Date: Sun, 2 Jun 2024 22:28:35 +0900 Subject: [PATCH] =?UTF-8?q?=E9=80=94=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-windows.yml | 37 +++++++++++++++++++++++++++++ src/App.vue | 6 ++--- 2 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/build-windows.yml diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml new file mode 100644 index 0000000..86ecc9a --- /dev/null +++ b/.github/workflows/build-windows.yml @@ -0,0 +1,37 @@ +name: 'build-windows' + +on: + workflow_dispatch: + +jobs: + build-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + + - uses: oven-sh/setup-bun@v1 + with: + bun-version: 1.1.10 + + - name: install Rust stable + uses: dtolnay/rust-toolchain@stable + + - name: Rust cache + uses: swatinem/rust-cache@v2 + with: + workspaces: './src-tauri -> target' + + - name: install frontend dependencies + run: bun install + + - name: build tauri app + run: bun run tauri build + + # result + # src-tauri/target/release/bundle/msi/tauri-app_0.0.0_x64_en-US.msi + # src-tauri/target/release/bundle/nsis/tauri-app_0.0.0_x64-setup.exe + - name: upload tauri app build + uses: actions/upload-artifact@v4 + with: + name: tauri-app-build + path: src-tauri/target/release/bundle/* diff --git a/src/App.vue b/src/App.vue index a37f04c..6d090ff 100644 --- a/src/App.vue +++ b/src/App.vue @@ -121,7 +121,7 @@ onUnmounted(() => {
Master Volume - +
@@ -150,8 +150,8 @@ onUnmounted(() => {
-