Update Google Next Gen to 0.21.0-beta01, fixed video sizing issue (#45) #74
This file contains hidden or 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: Build | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| packages: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| XCODE_VERSION: '26.0' | |
| jobs: | |
| gradle: | |
| runs-on: macos-latest | |
| env: | |
| ORG_GRADLE_PROJECT_openrtbUsername: ${{ github.actor }} | |
| ORG_GRADLE_PROJECT_openrtbPassword: ${{ github.token }} | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v5 | |
| - name: Setup Xcode | |
| run: sudo xcode-select --switch /Applications/Xcode_${{ env.XCODE_VERSION }}.app | |
| - name: Setup Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '25' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| cache-read-only: false | |
| dependency-graph: generate-and-submit | |
| - name: Build | |
| run: ./gradlew build | |
| - name: Upload build reports | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: gradle-reports | |
| path: '**/build/reports/' | |
| xcodebuild: | |
| runs-on: macos-latest | |
| env: | |
| IOS_TARGET: 18.5 | |
| SIMULATOR_NAME: iPhone 16 | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v5 | |
| - name: Setup Xcode | |
| run: sudo xcode-select --switch /Applications/Xcode_${{ env.XCODE_VERSION }}.app | |
| - name: Restore Build Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| build | |
| !build/Logs/** | |
| key: ${{ runner.os }}-xcodebuild-${{ hashFiles('**/*.xc*') }} | |
| restore-keys: | | |
| ${{ runner.os }}-xcodebuild- | |
| - name: Test | |
| run: set -o pipefail && xcodebuild test -scheme Solutions -destination "platform=iOS Simulator,OS=${{ env.IOS_TARGET }},name=${{ env.SIMULATOR_NAME }}" -derivedDataPath build | xcbeautify | |
| - name: Upload test results | |
| if: ${{ !cancelled() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: xcodebuild-reports | |
| path: '**/build/Logs/Test/' |