From db06633bfb3a1ad548b04432d6e43be8cb599534 Mon Sep 17 00:00:00 2001 From: lisonge Date: Mon, 19 Aug 2024 16:44:40 +0800 Subject: [PATCH] perf: change fdroid to foss --- .github/workflows/Build-Apk.yml | 4 ++-- .github/workflows/Build-Release.yml | 8 ++++---- app/build.gradle.kts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Build-Apk.yml b/.github/workflows/Build-Apk.yml index cfb87f047..54186a3e3 100644 --- a/.github/workflows/Build-Apk.yml +++ b/.github/workflows/Build-Apk.yml @@ -51,5 +51,5 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: fdroid-release - path: app/build/outputs/apk/fdroid/release + name: foss-release + path: app/build/outputs/apk/foss/release diff --git a/.github/workflows/Build-Release.yml b/.github/workflows/Build-Release.yml index 00e713ddd..398ced096 100644 --- a/.github/workflows/Build-Release.yml +++ b/.github/workflows/Build-Release.yml @@ -44,8 +44,8 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: fdroid-release - path: app/build/outputs/apk/fdroid/release + name: foss-release + path: app/build/outputs/apk/foss/release - uses: actions/upload-artifact@v4 with: @@ -92,8 +92,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: outputs/apk/fdroid/release/app-fdroid-release.apk - asset_name: gkd-x-fdroid-${{ github.ref_name }}.apk + asset_path: outputs/apk/foss/release/app-foss-release.apk + asset_name: gkd-x-foss-${{ github.ref_name }}.apk asset_content_type: application/vnd.android.package-archive - run: zip -r outputs.zip outputs diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8ab3ee694..aa9ac61d4 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -130,7 +130,7 @@ android { create(defaultName) { isDefault = true } - create("fdroid") { + create("foss") { buildConfigField("Boolean", "ENABLED_UPDATE", jsonStringOf(false)) } all {