-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (37 loc) · 983 Bytes
/
release.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
43
44
45
name: Release the app
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
environment: Development
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Setup Node.js
uses: actions/setup-node@v3.2.0
with:
node-version: '16.x'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev \
webkit2gtk-4.0 libappindicator3-dev \
librsvg2-dev patchelf libdbus-1-dev \
pkg-config
- name: Fetch Node.js dependencies
run: yarn
- name: Build Release version
run: yarn tauri build
- name: Release AppImage
uses: ncipollo/release-action@v1
with:
artifacts: "./target/release/bundle/appimage/*.AppImage"
token: ${{ secrets.GITHUB_TOKEN }}