-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 970 Bytes
/
main.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
name: Tauri builder
on:
push
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Tauri
run: npm install tauri
- name: Install other dependencies
run: npm install
- name: Bump package version
id: bumping-version
uses: jpb06/bump-package@latest
with:
should-default-to-patch: true
- name: Tag things :3
uses: Klemensas/action-autotag@stable
id: tagger
with:
GITHUB_TOKEN: ${{ secrets.TOKEN}}
- name: Build
run: npm run tauri build
- name: Release
uses: svenstaro/[email protected]
with:
file: /src-tauri/target/release/bundle/msi/*
release_name: Nightly Build (v.${{ steps.tagger.outputs.version }})
prerelease: true
make_latest: false