File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 64
64
~/.cargo/git/db/
65
65
src-tauri/target/
66
66
key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
67
+
68
+ - name : build for Ubuntu
69
+ if : matrix.os == 'ubuntu-20.04'
70
+ run : npm run build:all-unix
71
+
72
+ - name : build for MacOS
73
+ if : matrix.os == 'macos-latest'
74
+ run : |
75
+ rustup target add aarch64-apple-darwin
76
+ npm run build:all-unix
77
+
78
+ - name : build for windows
79
+ if : matrix.os == 'windows-latest'
80
+ run : |
81
+ npm run build:all-windows
82
+
83
+ - name : Upload files
84
+ env :
85
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
86
+ UPLOADTOOL_ISPRERELEASE : true
87
+ run : |
88
+ curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh
89
+ bash upload.sh output/*/*.*
67
90
68
91
# test build aarch64
69
92
aarch64-linux :
You can’t perform that action at this time.
0 commit comments