fix: update build configuration for consistency and mark subproject as dirty
Some checks failed
Build / check-version (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-android (push) Has been cancelled
Build / create-release (push) Has been cancelled
Build / build-windows (push) Has been cancelled

This commit is contained in:
2026-02-19 18:07:40 +11:00
parent da43506c01
commit ebeede58d2
2 changed files with 9 additions and 8 deletions

View File

@@ -10,14 +10,14 @@ on:
env:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
CARGO_INCREMENTAL: 0
CARGO_INCREMENTAL: 1
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
jobs:
check-version:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')
runs-on: linux
if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') && !startsWith(github.ref, 'refs/tags/')
outputs:
should_release: ${{ steps.check.outputs.should_release }}
version: ${{ steps.check.outputs.version }}
@@ -49,6 +49,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: false
clean: false
- name: Checkout submodules (Windows workaround)
shell: powershell
@@ -90,11 +91,11 @@ jobs:
override: true
- name: Install dependencies (root)
run: npm ci --prefer-offline
run: npm install --prefer-offline
- name: Install dependencies (cinny)
working-directory: ./cinny
run: npm ci --prefer-offline
run: npm install --prefer-offline
- name: Build Tauri app
run: npm run tauri build
@@ -131,7 +132,7 @@ jobs:
path: src-tauri/target/release/bundle/msi/Cinny-Windows-x64.msi.zip.sig
build-linux:
runs-on: ubuntu-latest
runs-on: linux
steps:
- name: Checkout repository
@@ -385,7 +386,7 @@ jobs:
path: src-tauri/gen/android/app/build/outputs/apk/universal/release/Cinny-Android.apk
create-release:
runs-on: ubuntu-latest
runs-on: linux
needs: [check-version, build-windows, build-linux, build-android]
if: needs.check-version.outputs.should_release == 'true'

2
cinny

Submodule cinny updated: 3f6f2134ad...8f1ba610fc