fix: commit recapitalized selection before separators #5
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: Build custom GIF and swipe APK | |
| on: | |
| push: | |
| branches: | |
| - custom/gif-and-swipe | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-unstable-debug-apk: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Check out source and build resources | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| submodules: recursive | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '17' | |
| cache: gradle | |
| - name: Set up Android SDK | |
| uses: android-actions/setup-android@v3 | |
| - name: Install native build dependencies | |
| run: | | |
| yes | sdkmanager --licenses | |
| sdkmanager "ndk;28.2.13676358" "cmake;3.22.1" | |
| - name: Build unstable debug APK | |
| run: ./gradlew assembleUnstableDebug --console=plain | |
| env: | |
| VERSION_CODE: ${{ github.run_number }} | |
| VERSION_NAME: 0.1.30-custom.${{ github.run_number }} | |
| BRANCH_NAME: ${{ github.ref_name }} | |
| - name: Upload testing APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: android-keyboard-custom-gif-and-swipe-${{ github.sha }} | |
| path: build/outputs/apk/unstable/debug/*.apk | |
| if-no-files-found: error | |
| retention-days: 14 | |
| - name: Publish GitHub Release for Obtainium | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: custom-${{ github.run_id }} | |
| name: Custom GIF + Swipe build ${{ github.run_number }} | |
| target_commitish: ${{ github.sha }} | |
| body: | | |
| Automated custom FUTO Keyboard build containing the GIF action and swipe-to-delete refinement. | |
| This is an unstable development build from `custom/gif-and-swipe`. | |
| files: build/outputs/apk/unstable/debug/*.apk | |
| generate_release_notes: true |