Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/desktop-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- os: windows-latest
name: windows-x64
target: x86_64-pc-windows-msvc
build_command: npm run desktop:build:nsis
build_command: npm run installer:build

steps:
- name: Checkout
Expand All @@ -113,6 +113,10 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Install installer dependencies
if: matrix.platform.name == 'windows-x64'
run: npm --prefix BitFun-Installer ci

- name: Build desktop app
run: ${{ matrix.platform.build_command }}

Expand All @@ -125,6 +129,7 @@ jobs:
target/*/release/bundle
target/release/bundle
src/apps/desktop/target/release/bundle
BitFun-Installer/src-tauri/target/release/bitfun-installer.exe

# ── Upload assets to GitHub Release ────────────────────────────────
upload-release-assets:
Expand Down Expand Up @@ -152,5 +157,5 @@ jobs:
tag_name: ${{ needs.prepare.outputs.release_tag }}
files: |
release-assets/**/*.dmg
release-assets/**/*setup.exe
release-assets/**/*bitfun-installer.exe
fail_on_unmatched_files: true
9 changes: 7 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- os: windows-latest
name: windows-x64
target: x86_64-pc-windows-msvc
build_command: npm run desktop:build:nsis
build_command: npm run installer:build

steps:
- uses: actions/checkout@v4
Expand All @@ -107,6 +107,10 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Install installer dependencies
if: matrix.platform.name == 'windows-x64'
run: npm --prefix BitFun-Installer ci

- name: Patch nightly version
shell: bash
env:
Expand Down Expand Up @@ -146,6 +150,7 @@ jobs:
target/*/release/bundle
target/release/bundle
src/apps/desktop/target/release/bundle
BitFun-Installer/src-tauri/target/release/bitfun-installer.exe

# ── Publish nightly pre-release ────────────────────────────────────
publish-nightly:
Expand Down Expand Up @@ -191,4 +196,4 @@ jobs:
prerelease: true
files: |
release-assets/**/*.dmg
release-assets/**/*setup.exe
release-assets/**/*bitfun-installer.exe