-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 1.05 KB
/
release.yml
File metadata and controls
39 lines (37 loc) · 1.05 KB
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
name: Release Windows App
on:
push:
tags:
- v*
jobs:
release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install Vcpkg
run: |
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
.\bootstrap-vcpkg.bat
- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install Dependencies
run: |
git submodule update --init --recursive
bun i
- name: Build and Release Tauri
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
with:
projectPath: ${{ github.workspace }}/src-tauri
tagName: ${{ github.ref_name }}
releaseName: "Release ${{ github.ref_name }}"
releaseBody: "Windows-only Tauri app with Bun."
releaseDraft: true
targets: 'exe'