File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111env :
1212 CARGO_TERM_COLOR : always
1313jobs :
14+ linux :
15+ permissions :
16+ contents : write
17+ runs-on : ubuntu-22.04
18+ steps :
19+ - uses : actions/checkout@v3
20+ - name : Install Cargo Toolchain
21+ run : rustup install nightly
22+ - name : Install Tauri
23+ run : cargo install tauri-cli --version "^2.0.0" --locked
24+ - name : Build Frontend
25+ run : cd frontend && yarn install --network-timeout 1000000000 && yarn build && cd ..
26+ - name : Build Rubic
27+ run : cargo tauri build
28+ - name : View App Artifacts Dir
29+ run : ls src-tauri/target/release/
30+ - name : View App Artifacts Bundle Dir
31+ run : ls src-tauri/target/release/bundle/
32+ - name : Generate release tag
33+ id : tag
34+ run : |
35+ echo "::set-output name=release_tag::Release_$(date +"%Y.%m.%d_%H-%M")"
36+ - uses : actions/upload-artifact@v4
37+ with :
38+ name : Rubic-linux
39+ path : src-tauri/target/release/bundle/Rubic.deb
40+ - run : echo "🍏 This job's status is ${{ job.status }}."
1441 mac :
1542 permissions :
1643 contents : write
@@ -74,12 +101,17 @@ jobs:
74101 with :
75102 name : Rubic-macos
76103 path : ./mac/
104+ - uses : actions/download-artifact@v4
105+ with :
106+ name : Rubic-linux
107+ path : ./linux/
77108 - name : Publish Release
78109 uses : softprops/action-gh-release@v1
79110 with :
80111 tag_name : ${{ steps.tag.outputs.release_tag }}
81112 files : |
82113 src-tauri/target/release/Rubic.exe
114+ linux/Rubic.deb
83115 mac/Rubic-macos.zip
84116 LICENSE
85117 Release.txt
You can’t perform that action at this time.
0 commit comments