Update safety settings for Gemini #60
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: Debug build APK | |
on: | |
pull_request_target: | |
branches: | |
- "main" | |
paths-ignore: | |
- ".gitignore" | |
- "**.md" | |
- "LICENSE" | |
- ".idea/**" | |
- ".github/**" | |
- ".editorconfig" | |
- "images/**" | |
jobs: | |
run: | |
runs-on: macos-14 | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "oracle" | |
java-version: "17" | |
cache: "gradle" | |
- name: Build debug APK | |
run: | | |
./gradlew assembleDebug | |
- name: Upload debug APK | |
uses: actions/upload-artifact@v4 | |
id: artifact-upload-step | |
with: | |
name: debug-${{ github.sha }} | |
path: ${{ github.workspace }}/app/build/outputs/apk/debug/app-debug.apk | |
- name: Comment APK Link | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
comment_tag: apk | |
message: | | |
Build complete! Here's the debug APK: ${{ steps.artifact-upload-step.outputs.artifact-url }} |