diff --git a/.github/workflows/android-artifact-build.yml b/.github/workflows/android-artifact-build.yml index d99da647..426615e7 100644 --- a/.github/workflows/android-artifact-build.yml +++ b/.github/workflows/android-artifact-build.yml @@ -8,11 +8,6 @@ on: required: false default: 'Triggered for Updates' type: string - push: - branches: - - release* - - master - - develop* jobs: maven-publish: diff --git a/.github/workflows/ios-artifact-build.yml b/.github/workflows/ios-artifact-build.yml index 162f4b3b..4d23eb89 100644 --- a/.github/workflows/ios-artifact-build.yml +++ b/.github/workflows/ios-artifact-build.yml @@ -8,14 +8,10 @@ on: required: false default: 'Triggered for Updates' type: string - push: - branches: - - release* - - master - - develop* jobs: build: + if: "${{ !contains(github.ref, 'master') && github.event_name != 'pull_request' && github.event_name == 'workflow_dispatch' }}" runs-on: macos-latest permissions: contents: write # Grants permission to push code and manage releases