chore: Add action to warn about potentially risky PR changes #2083
Workflow file for this run
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: Test Publishing UUID | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
AUTO_UPLOAD: true | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@7e48093f71aa12588241894ff3695e83c4b5e4b0 # pin@v2.4.2 | |
- name: Build the Release variant | |
run: ./gradlew assembleRelease --no-build-cache | tee gradle.log | |
- name: Verify that Native Symbols were uploaded | |
run: grep "Uploaded [1-9][0-9]* missing debug information file" gradle.log | |
if: env.SENTRY_AUTH_TOKEN != null |