Fix Ollama assistant message not being gathered when sent to the API #105
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/**" | |
- "metadata/**" | |
jobs: | |
run: | |
name: Build debug APK | |
runs-on: macos-14 | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
- 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 }} |