Skip to content

Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.

Windows build: can be asked for without running the tests first, for a quick installer

Yashwanth Kamireddi51e5baefd001
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 0171b3c..419cbb4 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -8,6 +8,11 @@ name: Windows build
on:
workflow_dispatch:
+ inputs:
+ test_first:
+ description: "Run the whole test suite on Windows before building"
+ type: boolean
+ default: true
push:
tags: ["v*"]
@@ -16,6 +21,7 @@ permissions:
jobs:
test:
+ if: ${{ github.event_name != 'workflow_dispatch' || inputs.test_first }}
runs-on: windows-latest
timeout-minutes: 60
steps:
@@ -34,6 +40,8 @@ jobs:
build:
needs: test
+ # After the tests pass — or straight away when a build was asked for without them.
+ if: ${{ !cancelled() && (needs.test.result == 'success' || needs.test.result == 'skipped') }}
runs-on: windows-latest
timeout-minutes: 60
steps: