abouttreesummaryrefslogcommitdiff
path: root/.github/workflows/make-apk.yml
diff options
context:
space:
mode:
authorRapha2024-02-06 18:01:54 -0500
committerGitHub2024-02-07 00:01:54 +0100
commit79aec5b9bca2f4b4aa79f95fa5253c8c4e0f3b25 (patch)
treec79e7a8d47e8e3d80a6a8e12ca456f2a9744e698 /.github/workflows/make-apk.yml
parentbe053b082c0556d82337e554ab7c30ec67b8c53b (diff)
downloadunexpected-keyboard-79aec5b9bca2f4b4aa79f95fa5253c8c4e0f3b25.tar.gz
unexpected-keyboard-79aec5b9bca2f4b4aa79f95fa5253c8c4e0f3b25.zip
CI: Update to node.js-20 (#546)
Diffstat (limited to '.github/workflows/make-apk.yml')
-rw-r--r--.github/workflows/make-apk.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/make-apk.yml b/.github/workflows/make-apk.yml
index ea334de..19baf9e 100644
--- a/.github/workflows/make-apk.yml
+++ b/.github/workflows/make-apk.yml
@@ -9,17 +9,18 @@ jobs:
Build-Apk:
runs-on: ubuntu-latest
steps:
- - uses: actions/setup-java@v3
+ - uses: actions/setup-java@v4
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '17'
- name: Checkout repo
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Restore debug keystore from GitHub Secrets
run: |
# Check if exist and use the secret named DEBUG_KEYSTORE
# The contents of the secret can be obtained -
- # from the debug.keystore.asc from you local folder (refer to CONTRIBUTING.md#Using the local debug.keystore on the Github CI actions)
+ # from the debug.keystore.asc from you local folder
+ # (refer to CONTRIBUTING.md Using the local debug.keystore on the Github CI actions)
if [[ ! "${{ secrets.DEBUG_KEYSTORE }}" = "" ]]; then
echo "${{ secrets.DEBUG_KEYSTORE }}" > "debug.keystore.asc"
if [[ -s "debug.keystore.asc" ]]; then
@@ -28,7 +29,7 @@ jobs:
fi
fi
- name: Build debug APK
- uses: gradle/gradle-build-action@v2
+ uses: gradle/gradle-build-action@v3
env:
DEBUG_KEYSTORE: "debug.keystore"
DEBUG_KEYSTORE_PASSWORD: debug0
@@ -42,7 +43,7 @@ jobs:
artifact="${artifact//\//-}" # replace slashes
echo "artifact=${artifact}" >> $GITHUB_ENV
- name: Upload debug APK
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: "${{env.artifact}} debug_apk"
path: build/outputs/apk/debug/*.apk