-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1008 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build bytesto4t
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
working-directory: bytesto4t
- name: Build Svelte app
run: bun run tauri build
working-directory: bytesto4t
- name: Upload build artifact
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
name: bytesto4t-artifacts
files: |
bytesto4t/src-tauri/target/release/bundle/msi/bytesto4t_0.1.0_x64_en-US.msi
bytesto4t/src-tauri/target/release/bundle/nsis/bytesto4t_0.1.0_x64-setup.exe