Skip to content

使用莱文斯坦距离 (Levenshtein distance)实现包名和应用名的模糊搜索 #11

使用莱文斯坦距离 (Levenshtein distance)实现包名和应用名的模糊搜索

使用莱文斯坦距离 (Levenshtein distance)实现包名和应用名的模糊搜索 #11

Workflow file for this run

name: Android CI
on:
push:
branches:
- master
paths-ignore:
- '**.md'
- 'fastlane/**'
- '.github/**'
- '!.github/workflows/android.yml'
pull_request:
branches:
- master
paths-ignore:
- '**.md'
- 'fastlane/**'
- '.github/**'
- '!.github/workflows/android.yml'
jobs:
build:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.event.head_commit.message, '[skip ci]') && github.repository_owner == 'aistra0528' }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew assembleDebug
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
with:
name: Debug
path: app/build/outputs/apk/debug
retention-days: 7