Updated xcodegen to 2.36.0. #355
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: | |
workflow_dispatch: | |
inputs: | |
skip-tests: | |
description: Skip tests | |
required: false | |
default: false | |
type: boolean | |
skip-build-app: | |
description: Skip build-app | |
required: false | |
default: false | |
type: boolean | |
push: | |
branches: [main] | |
pull_request: {} | |
defaults: | |
run: | |
shell: bash --noprofile --norc -x -euo pipefail {0} | |
jobs: | |
tests-filter: | |
name: 'Filter Tests' | |
uses: ./.github/workflows/filter-on-pr-label-or-input.yml | |
secrets: inherit | |
with: | |
action: 'tests' | |
skip-non-pr: ${{ inputs.skip-tests }} | |
build-app-filter: | |
name: 'Filter Build App' | |
uses: ./.github/workflows/filter-on-pr-label-or-input.yml | |
secrets: inherit | |
with: | |
action: 'build-app' | |
skip-non-pr: ${{ inputs.skip-build-app }} | |
paths-filter: | |
name: 'Paths Filter' | |
uses: ./.github/workflows/paths-filter.yml | |
tests: | |
name: 'Tests' | |
needs: [paths-filter, tests-filter] | |
if: ${{ !inputs.skip-tests && github.event.pull_request.draft != true && needs.paths-filter.outputs.should-test != 'false' && needs.tests-filter.outputs.should-run == 'true' }} | |
uses: grigorye/ReusableWorkflows/.github/workflows/tests-generic.yml@v22 | |
secrets: inherit | |
with: | |
runs-on: 'macos-12' | |
unit-tests-scheme: 'TMBuddyTests' | |
snapshot-tests-scheme: 'TMBuddySnapshots' | |
ui-snapshot-tests-scheme: 'TMBuddyUITestSnapshots' | |
build-app: | |
name: 'App' | |
needs: [paths-filter, build-app-filter] | |
if: ${{ !inputs.skip-build-app && github.event.pull_request.draft != true && needs.paths-filter.outputs.should-build != 'false' && needs.build-app-filter.outputs.should-run == 'true' }} | |
uses: grigorye/ReusableWorkflows/.github/workflows/build-app-generic.yml@v22 | |
with: | |
macos-app-scheme: 'TMBuddy' | |
build-configs: '[\"app-store\", \"developer-id\"]' | |
runs-on: '["macos-12", "build"]' | |
secrets: inherit |