From 422ab9d77c483e75a6f9bb58b06e44bd22826682 Mon Sep 17 00:00:00 2001 From: Vlad Velicu Date: Thu, 13 Jul 2023 12:19:03 +0100 Subject: [PATCH] update run condition for rest of actions --- .github/workflows/xcodebuild-ios.yml | 14 +++++++++----- .github/workflows/xcodebuild-mac.yml | 14 ++++++++------ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.github/workflows/xcodebuild-ios.yml b/.github/workflows/xcodebuild-ios.yml index 20dd548e5..d3cff20c8 100644 --- a/.github/workflows/xcodebuild-ios.yml +++ b/.github/workflows/xcodebuild-ios.yml @@ -2,17 +2,21 @@ name: iOS on: push: - branches: [ master ] + branches: + - 'master' + - 'release/**' pull_request: - branches: [ master ] + branches: + - 'master' + - 'release/**' jobs: build: name: build-and-test - runs-on: macos-latest + runs-on: macOS-latest strategy: - matrix: - scheme: ["CBL_ObjC", "CBL_Swift"] + matrix: + scheme: ["CBL_ObjC", "CBL_Swift"] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/xcodebuild-mac.yml b/.github/workflows/xcodebuild-mac.yml index b654733f8..4fe7f0446 100644 --- a/.github/workflows/xcodebuild-mac.yml +++ b/.github/workflows/xcodebuild-mac.yml @@ -1,12 +1,14 @@ name: macOS on: - push: - branches: - - master - pull_request: - branches: - - '**' + push: + branches: + - 'master' + - 'release/**' + pull_request: + branches: + - 'master' + - 'release/**' jobs: build: