From da9cfcc95b48329b7212217fc29e7d8b3a912e77 Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Fri, 23 Jan 2026 15:38:51 +0100 Subject: [PATCH] Combine build workflows --- .github/workflows/build-no-cache.yml | 17 ----------------- .../workflows/{build-cached.yml => build.yml} | 13 +++++++++++-- 2 files changed, 11 insertions(+), 19 deletions(-) delete mode 100644 .github/workflows/build-no-cache.yml rename .github/workflows/{build-cached.yml => build.yml} (75%) diff --git a/.github/workflows/build-no-cache.yml b/.github/workflows/build-no-cache.yml deleted file mode 100644 index 6c28de9..0000000 --- a/.github/workflows/build-no-cache.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Build (No Cache) - -on: - workflow_dispatch: - -permissions: - contents: read - -jobs: - build: - name: Build tart (no cache) - runs-on: ghcr.io/cirruslabs/macos-runner:tahoe - timeout-minutes: 30 - steps: - - uses: actions/checkout@v5 - - name: Build - run: swift build --build-system swiftbuild --product tart diff --git a/.github/workflows/build-cached.yml b/.github/workflows/build.yml similarity index 75% rename from .github/workflows/build-cached.yml rename to .github/workflows/build.yml index 66dffb9..cfd126b 100644 --- a/.github/workflows/build-cached.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build (Cached) +name: Build on: workflow_dispatch: @@ -7,7 +7,7 @@ permissions: contents: read jobs: - build: + build_cached: name: Build tart (cached) runs-on: ghcr.io/cirruslabs/macos-runner:tahoe timeout-minutes: 30 @@ -26,3 +26,12 @@ jobs: export CLANG_ENABLE_COMPILE_CACHE=YES export CLANG_ENABLE_MODULES=YES swift build --build-system swiftbuild --product tart + + build_no_cache: + name: Build tart (no cache) + runs-on: ghcr.io/cirruslabs/macos-runner:tahoe + timeout-minutes: 30 + steps: + - uses: actions/checkout@v5 + - name: Build + run: swift build --build-system swiftbuild --product tart