abouttreesummaryrefslogcommitdiff
path: root/.github/workflows/make-apk.yml
diff options
context:
space:
mode:
authorJ. Fronny2025-09-29 00:37:26 +0200
committerGitHub2025-09-29 00:37:26 +0200
commit7fdf63b930e51a06011ce911cf87a03c41b8334d (patch)
tree84993a4eb8689c285b9f308420513fcee1d12df4 /.github/workflows/make-apk.yml
parent462b860e4e2930f5516b6e2ab5e203f05b98bf4d (diff)
downloadunexpected-keyboard-7fdf63b930e51a06011ce911cf87a03c41b8334d.tar.gz
unexpected-keyboard-7fdf63b930e51a06011ce911cf87a03c41b8334d.zip
Upgrade Gradle (#1097)
* Enable configuration cache and up-to-date checking
Diffstat (limited to '.github/workflows/make-apk.yml')
-rw-r--r--.github/workflows/make-apk.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/make-apk.yml b/.github/workflows/make-apk.yml
index 19baf9e..c7c7c5b 100644
--- a/.github/workflows/make-apk.yml
+++ b/.github/workflows/make-apk.yml
@@ -9,10 +9,6 @@ jobs:
Build-Apk:
runs-on: ubuntu-latest
steps:
- - uses: actions/setup-java@v4
- with:
- distribution: 'zulu' # See 'Supported distributions' for available options
- java-version: '17'
- name: Checkout repo
uses: actions/checkout@v4
- name: Restore debug keystore from GitHub Secrets
@@ -28,15 +24,19 @@ jobs:
gpg -d --passphrase "debug0" --batch "debug.keystore.asc" > "debug.keystore"
fi
fi
+ - uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: '17'
+ - name: Setup Gradle
+ uses: gradle/actions/setup-gradle@v4
- name: Build debug APK
- uses: gradle/gradle-build-action@v3
+ run: ./gradlew assembleDebug
env:
DEBUG_KEYSTORE: "debug.keystore"
DEBUG_KEYSTORE_PASSWORD: debug0
DEBUG_KEY_ALIAS: debug
DEBUG_KEY_PASSWORD: debug0
- with:
- arguments: assembleDebug
- name: Artifact naming
run: |
artifact="${{github.repository_owner}} ${{github.ref_name}}"