We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1266307 commit e62bf04Copy full SHA for e62bf04
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,36 @@
1
+name: Release Windows EXE
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ build-and-release:
13
+ runs-on: windows-latest
14
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v4
18
19
+ - name: Install Rust
20
+ uses: dtolnay/rust-toolchain@stable
21
+ with:
22
+ targets: x86_64-pc-windows-msvc
23
24
+ - name: Build release
25
+ run: cargo build --release --target x86_64-pc-windows-msvc
26
27
+ - name: Create archive
28
+ run: |
29
+ cd target/x86_64-pc-windows-msvc/release
30
+ 7z a ../../../linux_file_viewer-windows-x64.zip linux_file_viewer.exe
31
32
+ - name: Create GitHub Release
33
+ uses: softprops/action-gh-release@v2
34
35
+ files: linux_file_viewer-windows-x64.zip
36
+ generate_release_notes: true
0 commit comments