diff --git a/.github/workflows/build.yml b/.github/workflows/build-cached.yml similarity index 92% rename from .github/workflows/build.yml rename to .github/workflows/build-cached.yml index 136eea6..66dffb9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build-cached.yml @@ -1,14 +1,14 @@ -name: Build +name: Build (Cached) on: - push: + workflow_dispatch: permissions: contents: read jobs: build: - name: Build + name: Build tart (cached) runs-on: ghcr.io/cirruslabs/macos-runner:tahoe timeout-minutes: 30 steps: diff --git a/.github/workflows/build-no-cache.yml b/.github/workflows/build-no-cache.yml new file mode 100644 index 0000000..6c28de9 --- /dev/null +++ b/.github/workflows/build-no-cache.yml @@ -0,0 +1,17 @@ +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