Skip to content

Commit 9142423

Browse files
Upload Windows build artifacts
1 parent d35dca7 commit 9142423

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/rust.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Install dependencies
4242
run: |
43-
sudo apt update && sudo apt install -y gcc-mingw-w64-i686 \
43+
sudo apt update && sudo apt install -y \
4444
libwebkit2gtk-4.1-dev \
4545
build-essential \
4646
curl \
@@ -49,8 +49,7 @@ jobs:
4949
libxdo-dev \
5050
libssl-dev \
5151
libayatana-appindicator3-dev \
52-
librsvg2-dev \
53-
wget
52+
librsvg2-dev
5453
5554
- name: Restore Tauri CLI
5655
id: cache-tauri
@@ -142,3 +141,19 @@ jobs:
142141

143142
- name: Build
144143
run: cargo tauri build
144+
145+
- name: Package
146+
run: |
147+
cd src-tauri/target/release
148+
mkdir windows-standalone
149+
Move-Item -Destination windows-standalone -Path openfusionlauncher.exe,ffrunner.exe,assets,defaults,loader,player,mono
150+
151+
- uses: actions/upload-artifact@v4.6.0
152+
with:
153+
name: openfusionlauncher-windows-standalone
154+
path: src-tauri/target/release/windows-standalone/
155+
156+
- uses: actions/upload-artifact@v4.6.0
157+
with:
158+
name: openfusionlauncher-windows-installer
159+
path: src-tauri/target/release/bundle/nsis/

0 commit comments

Comments
 (0)