From eae656a5decbf84169550fd336eea942af3abe89 Mon Sep 17 00:00:00 2001 From: Ben <31181527+benedom@users.noreply.github.com> Date: Thu, 19 Oct 2023 16:20:09 +0200 Subject: Update and rename swift.yml to build-swift.yml --- .github/workflows/build-swift.yml | 33 +++++++++++++++++++++++++++++++++ .github/workflows/swift.yml | 34 ---------------------------------- 2 files changed, 33 insertions(+), 34 deletions(-) create mode 100644 .github/workflows/build-swift.yml delete mode 100644 .github/workflows/swift.yml diff --git a/.github/workflows/build-swift.yml b/.github/workflows/build-swift.yml new file mode 100644 index 0000000..9d9f3cc --- /dev/null +++ b/.github/workflows/build-swift.yml @@ -0,0 +1,33 @@ +# This workflow will build a Swift project + +name: Build + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + strategy: + matrix: + platform: + - iOS + xcode: + - ^15 + + runs-on: macos-13 + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Get swift version + uses: swift-actions/setup-swift@v1 + - name: Print Swift version + run: swift --version + - name: Build & Test + uses: mxcl/xcodebuild@v1 + with: + xcode: ${{ matrix.xcode }} + platform: ${{ matrix.platform }} diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml deleted file mode 100644 index d3825be..0000000 --- a/.github/workflows/swift.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This workflow will build a Swift project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift - -name: Swift - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - strategy: - matrix: - platform: - - iOS - xcode: - - ^15 - - runs-on: macos-13 - - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Get swift version - uses: swift-actions/setup-swift@v1 - - name: Print Swift version - run: swift --version - - name: Build & Test - uses: mxcl/xcodebuild@v1 - with: - xcode: ${{ matrix.xcode }} - platform: ${{ matrix.platform }} -- cgit v1.2.3