File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Release Windows EXE
22
33on :
4- push :
5- tags :
6- - ' v* '
4+ push :
5+ tags :
6+ - " v* "
77
88permissions :
9- contents : write
9+ contents : write
1010
1111jobs :
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- with :
35- files : linux_file_viewer-windows-x64.zip
36- generate_release_notes : true
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 GitHub Release
28+ uses : softprops/action-gh-release@v2
29+ with :
30+ files : linux_file_viewer.exe
31+ generate_release_notes : true
You can’t perform that action at this time.
0 commit comments