-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.17 KB
/
Copy pathrelease.yml
File metadata and controls
44 lines (37 loc) · 1.17 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
40
41
42
43
44
name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: write
jobs:
release:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-pc-windows-msvc
- name: Cache cargo
uses: swatinem/rust-cache@v2
with:
workspaces: src-tauri
cache-on-failure: true
- name: Build, sign, and publish release
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
with:
projectPath: src-tauri
tagName: ${{ github.ref_name }}
releaseName: "OpenGui ${{ github.ref_name }}"
releaseBody: "See the assets below to download and install this version. OpenGui updates itself automatically once installed."
releaseDraft: false
prerelease: false
includeUpdaterJson: true