diff --git a/.github/workflows/deps-build-linux.yaml b/.github/workflows/deps-build-linux.yaml index df2341283a..db40d5f3e7 100644 --- a/.github/workflows/deps-build-linux.yaml +++ b/.github/workflows/deps-build-linux.yaml @@ -88,7 +88,7 @@ jobs: releaseDraft: false prerelease: true tauriScript: pnpm tauri - args: -f nightly -c ./backend/tauri/tauri.nightly.conf.json + args: ${{ inputs.nightly == true && '-f nightly -c ./backend/tauri/tauri.nightly.conf.json' || '-f default-meta -c ./backend/tauri/tauri.conf.json' }} - name: Calc the archive signature env: diff --git a/.github/workflows/deps-build-macos.yaml b/.github/workflows/deps-build-macos.yaml index c84c3a63b4..2ac65bc75b 100644 --- a/.github/workflows/deps-build-macos.yaml +++ b/.github/workflows/deps-build-macos.yaml @@ -117,7 +117,7 @@ jobs: releaseDraft: false prerelease: true tauriScript: pnpm tauri - args: -f nightly -c ./backend/tauri/tauri.nightly.conf.json + args: ${{ inputs.nightly == true && '-f nightly -c ./backend/tauri/tauri.nightly.conf.json' || '-f default-meta -c ./backend/tauri/tauri.conf.json' }} - name: Tauri build with Upload (macOS aarch64) if: ${{ inputs.aarch64 == true }} @@ -128,5 +128,5 @@ jobs: TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} NIGHTLY: ${{ inputs.nightly == true && 'true' || 'false' }} run: | - pnpm build:nightly --target aarch64-apple-darwin + ${{ inputs.nightly == true && 'pnpm build:nightly --target aarch64-apple-darwin' || 'pnpm build --target aarch64-apple-darwin' }} pnpm upload:osx-aarch64 diff --git a/.github/workflows/deps-build-windows-nsis.yaml b/.github/workflows/deps-build-windows-nsis.yaml index d0495d041f..ed25cbee78 100644 --- a/.github/workflows/deps-build-windows-nsis.yaml +++ b/.github/workflows/deps-build-windows-nsis.yaml @@ -96,7 +96,7 @@ jobs: releaseDraft: false prerelease: true tauriScript: pnpm tauri - args: -f nightly -c ./backend/tauri/tauri.nightly.conf.json + args: ${{ inputs.nightly == true && '-f nightly -c ./backend/tauri/tauri.nightly.conf.json' || '-f default-meta -c ./backend/tauri/tauri.conf.json' }} - name: Portable Bundle if: ${{ inputs.portable == true }}