Skip to content

Commit a3d5715

Browse files
committed
Create release.yml
1 parent a833813 commit a3d5715

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

.github/workflows/release.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build-and-release:
10+
permissions:
11+
contents: write
12+
runs-on: windows-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 'lts/*'
21+
cache: 'npm'
22+
23+
- name: Install Rust stable
24+
uses: dtolnay/rust-toolchain@stable
25+
26+
- name: Cache Rust
27+
uses: swatinem/rust-cache@v2
28+
with:
29+
workspaces: './src-tauri -> target'
30+
31+
- name: Install frontend dependencies
32+
run: npm ci
33+
34+
- name: Build and release
35+
uses: tauri-apps/tauri-action@v0
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
with:
39+
tagName: v__VERSION__
40+
releaseName: 'FrameGuard v__VERSION__'
41+
releaseBody: |
42+
## FrameGuard v__VERSION__
43+
44+
### Instalação
45+
1. Baixe o arquivo `.exe` abaixo
46+
2. Execute o instalador (aceite o UAC)
47+
3. O FrameGuard será instalado e abrirá automaticamente
48+
49+
> ⚠️ O Windows Defender pode alertar sobre o instalador por não ter assinatura digital.
50+
> Clique em "Mais informações" → "Executar assim mesmo". O código é 100% aberto e auditável.
51+
52+
---
53+
_Changelog completo em breve._
54+
releaseDraft: true
55+
prerelease: false

0 commit comments

Comments
 (0)