Regenerate to pick up the Object Param Enum annotations #117
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: ServiceGenerator | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'Sources/Core/**' | |
- 'Sources/GeneratedServices/Discovery/**' | |
- 'Tools/**' | |
- '!Tools/**/*.md' | |
- '!Tools/**/*.py' | |
- '!Tools/GenerateCheckedInServices*' | |
- 'Package*.swift' | |
- '.github/workflows/service_generator.yml' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'Sources/Core/**' | |
- 'Sources/GeneratedServices/Discovery/**' | |
- 'Tools/**' | |
- '!Tools/**/*.md' | |
- '!Tools/**/*.py' | |
- '!Tools/GenerateCheckedInServices*' | |
- 'Package*.swift' | |
- '.github/workflows/service_generator.yml' | |
schedule: | |
# Run the first and fifteenth of every month at 6:32 UTC | |
- cron: '32 6 1,15 * *' | |
jobs: | |
swift: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
CONFIGURATION: ["debug", "release"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build ServiceGenerator | |
run: | | |
set -eu | |
cd Tools | |
swift build --configuration ${{ matrix.CONFIGURATION }} | |
xcodebuild: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
CONFIGURATION: ["Debug", "Release"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build ServiceGenerator | |
run: | | |
set -eu | |
cd Tools | |
set -o pipefail | |
xcodebuild \ | |
-scheme GTLR_ServiceGenerator \ | |
-configuration ${{ matrix.CONFIGURATION }} \ | |
-destination "platform=macOS" \ | |
build \ | |
| xcpretty |