File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 9696 run : |
9797 sudo apt-get update
9898 sudo apt-get install -y gio-2.0
99+ sudo apt-get install libgtk-3-dev # Debian/Ubuntu
99100
100101 - name : Set up Rust
101102 uses : actions-rs/toolchain@v1
@@ -107,16 +108,19 @@ jobs:
107108 - name : Build Tauri app
108109 run : pnpm tauri build
109110
111+ - name : Determine artifact path
112+ id : artifact_path
113+ run : |
114+ if [[ "${{ runner.os }}" == "Windows" ]]; then
115+ echo "artifact_path=src-tauri/target/release/bundle/nsis/" >> $GITHUB_ENV
116+ else
117+ echo "artifact_path=src-tauri/target/release/bundle/" >> $GITHUB_ENV
118+
110119 - name : Upload artifact
111120 uses : actions/upload-artifact@v3
112121 with :
113122 name : ${{ runner.os }}-artifact
114- path : |
115- if [[ "${{ runner.os }}" == "Windows" ]]; then
116- echo "src-tauri/target/release/bundle/nsis/"
117- else
118- echo "src-tauri/target/release/bundle/"
119- fi
123+ path : ${{ env.artifact_path }}
120124
121125 upload_assets :
122126 name : Upload Assets to Release
You can’t perform that action at this time.
0 commit comments