mirror of
https://github.com/AChep/keyguard-app.git
synced 2024-12-22 21:08:55 +01:00
chore: Migrate to setup-gradle-v4
This commit is contained in:
parent
a4bba93f8c
commit
58991132df
14
.github/workflows/new_apk.yaml
vendored
14
.github/workflows/new_apk.yaml
vendored
@ -24,19 +24,15 @@ jobs:
|
||||
echo "" >> gradle.properties
|
||||
echo "versionRef=$(git rev-parse --short HEAD)" >> gradle.properties
|
||||
echo buildkonfig.flavor=release >> gradle.properties
|
||||
- name: "Check and Build licenses"
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
env:
|
||||
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
|
||||
with:
|
||||
arguments: :androidApp:licenseeAndroidNoneRelease
|
||||
- name: "Move licenses"
|
||||
run: |
|
||||
mv -f androidApp/build/reports/licensee/androidNoneRelease/artifacts.json common/src/commonMain/composeResources/files/licenses.json
|
||||
- name: "Setup Gradle"
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
env:
|
||||
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
|
||||
- name: "Check and Build licenses"
|
||||
run: ./gradlew :androidApp:licenseeAndroidNoneRelease
|
||||
- name: "Move licenses"
|
||||
run: |
|
||||
mv -f androidApp/build/reports/licensee/androidNoneRelease/artifacts.json common/src/commonMain/composeResources/files/licenses.json
|
||||
- name: "Build"
|
||||
run: ./gradlew :androidApp:assembleNoneRelease
|
||||
- name: 'Upload .apk'
|
||||
|
@ -23,19 +23,15 @@ jobs:
|
||||
echo ${{ secrets.GOOGLE_SERVICES }} | base64 -d | zcat >> androidApp/google-services.json
|
||||
echo ${{ secrets.SERVICE_ACCOUNT_B64 }} | base64 -d | zcat >> service-account-google.json
|
||||
python .github/setup_gradle_properties_release.py tag=${{ github.ref_name }}
|
||||
- name: "Check and Build licenses"
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
env:
|
||||
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
|
||||
with:
|
||||
arguments: :androidApp:licenseeAndroidPlayStoreRelease
|
||||
- name: "Move licenses"
|
||||
run: |
|
||||
mv -f androidApp/build/reports/licensee/androidPlayStoreRelease/artifacts.json common/src/commonMain/composeResources/files/licenses.json
|
||||
- name: "Setup Gradle"
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
env:
|
||||
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
|
||||
- name: "Check and Build licenses"
|
||||
run: ./gradlew :androidApp:licenseeAndroidPlayStoreRelease
|
||||
- name: "Move licenses"
|
||||
run: |
|
||||
mv -f androidApp/build/reports/licensee/androidPlayStoreRelease/artifacts.json common/src/commonMain/composeResources/files/licenses.json
|
||||
- name: "Build"
|
||||
run: ./gradlew :androidApp:bundlePlayStoreRelease
|
||||
- name: 'Upload .aab'
|
||||
|
Loading…
Reference in New Issue
Block a user