Add channel flavor for publishing variant for Google Play (#3861)

* Add channel flavor for publishing variant for Google Play

* Remove unused variants

* Build both on CI

* Tweak

* Fix conflicts

* Copy json into variant folder

* Rename foss to github

* Rename apk

* `ci.py` - Allow multiple files to be sent

* Fix `ci.py`

---------

Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>
This commit is contained in:
Goooler
2023-12-18 11:33:58 +08:00
committed by GitHub
parent d506f23d33
commit c2d59a6623
5 changed files with 27 additions and 75 deletions

View File

@@ -52,12 +52,12 @@ jobs:
echo ${{ secrets.KEYSTORE }} | base64 --decode > ${{ github.workspace }}/key.jks
fi
- name: Build debug APK
run: ./gradlew assembleLawnWithQuickstepDebug
run: ./gradlew assembleLawnWithQuickstepGithubDebug assembleLawnWithQuickstepMarketDebug
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Debug APK
path: build/outputs/apk/lawnWithQuickstep/debug/*.apk
path: build/outputs/apk/**/*.apk
check-style:
runs-on: ubuntu-latest

View File

@@ -35,7 +35,7 @@ jobs:
with:
gradle-home-cache-cleanup: true
- name: Build release APK
run: ./gradlew assembleLawnWithQuickstepRelease
run: ./gradlew assembleLawnWithQuickstepMarketRelease
- name: Write sign info
if: github.repository_owner == 'LawnchairLauncher'
run: |