Rename Screenshot_20241130_001659_Kyubi_Browser(1).jpg to photo_59088… #38
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: Android CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 # Use v2 instead of v1 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Cache Gradle dependencies # Add a name here for clarity | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Build with Gradle | |
run: ./gradlew assembleDebug --parallel | |
- name: Upload APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: app | |
path: app/build/outputs/apk/debug/*.apk | |
- name: Version Bump | |
uses: chkfung/[email protected] | |
with: | |
gradlePath: app/build.gradle | |
versionCode: ${{ github.run_number }} | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.KYUBI_TOKEN }} | |
with: | |
tag_name: ${{ github.event.ref }} | |
release_name: "${{ env.CURRENT_RELEASE_TAG_CAPITALIZE }}" | |
draft: true | |
prerelease: false | |
- name: Upload to Release | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.KYUBI_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: app/build/outputs/apk/debug/app-arm64-v8a-debug.apk | |
asset_name: Kyubi-arm64-v8a-debug.apk | |
asset_content_type: application/vnd.android.package-archive |