Supply Chain: bump AGP to 8.10.1 to test bcprov 1.79 curation #15
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: Supply Chain Build | |
| on: | |
| push: | |
| branches: ["supplychain_*"] | |
| pull_request: | |
| branches: ["supplychain_*"] | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ${{ github.event.pull_request.head.repo.fork && 'ubuntu-latest' || 'ubuntu-x64' }} | |
| environment: test_docker | |
| permissions: | |
| id-token: write | |
| contents: read | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 | |
| - name: Set up Java | |
| uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1 | |
| with: | |
| distribution: "temurin" | |
| java-version: "17" | |
| # Only cache if it's a fork | |
| - name: Cache Gradle dependencies | |
| if: ${{ github.event.pull_request.head.repo.fork }} | |
| uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Artifactory OIDC | |
| if: ${{ !github.event.pull_request.head.repo.fork }} | |
| uses: twilio/sdk-actions/artifactory-oidc@0d27cae699ef35881ab22fd965922d3d555cab9d # java_gradle | |
| with: | |
| ecosystem: "gradle" | |
| provider-name: "github-actions-segmentio" | |
| - name: Build | |
| run: ./gradlew assemble |