[Functions] Send the placeholder appcheck token in case of error #50
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: Metalava SemVer Check | |
on: | |
pull_request: | |
jobs: | |
semver-check: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v4.1.1 | |
with: | |
ref: ${{ github.base_ref }} | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4.1.0 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: gradle | |
- name: Copy previous api.txt files | |
run: ./gradlew copyApiTxtFile | |
- name: Checkout PR | |
uses: actions/checkout@v4.1.1 | |
with: | |
ref: ${{ github.head_ref }} | |
clean: false | |
- name: Run Metalava SemVer check | |
run: ./gradlew metalavaSemver |