From 85ac76f42ddd0af5d61810557706411628c38bd5 Mon Sep 17 00:00:00 2001 From: Zach Date: Thu, 2 Nov 2023 08:11:24 -0600 Subject: [PATCH] Update macOS.yml --- .github/workflows/macOS.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/macOS.yml b/.github/workflows/macOS.yml index 4d01d0c..d49a1e2 100644 --- a/.github/workflows/macOS.yml +++ b/.github/workflows/macOS.yml @@ -5,18 +5,17 @@ name: macOS on: push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + branches: ["**"] jobs: build: - - runs-on: macos-latest + runs-on: macos-13 steps: - - uses: actions/checkout@v3 - - name: Build - run: swift build -v - - name: Run tests - run: swift test -v + - uses: swift-actions/setup-swift@v1 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - uses: actions/checkout@v3 + - name: Build for release + run: swift build -v -c release