From 8641196cdf2b0d87c1c0e9aca027a3507e5d0b0c Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Sun, 28 Jun 2026 19:40:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4GitHub=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gradle.yml | 59 ------------------------------------ 1 file changed, 59 deletions(-) delete mode 100644 .github/workflows/gradle.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml deleted file mode 100644 index 285d1ec..0000000 --- a/.github/workflows/gradle.yml +++ /dev/null @@ -1,59 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle - -name: Java CI with Gradle - -on: - push: - branches: [ "appbase" ] - tags: - - 'v*' - pull_request: - branches: [ "appbase" ] - -jobs: - build: - runs-on: ubuntu-latest - permissions: - contents: write - - steps: - - uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'temurin' - - # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. - # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md - - name: Setup Gradle - uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 - - # 编译任务改为 assembleStageRelease - - name: Build Stage Release APK - run: ./gradlew assembleStageRelease --no-daemon - - # 构建成功后,把APK上传到本次tag对应的Release Assets - - name: Upload APK to GitHub Release - if: startsWith(github.ref, 'refs/tags/v') - uses: softprops/action-gh-release@v1 - with: - files: app/build/outputs/apk/stageRelease/*.apk - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - # NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html). - # If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version. - # - # - name: Setup Gradle - # uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 - # with: - # gradle-version: '8.9' - # - # - name: Build with Gradle 8.9 - # run: gradle build