Skip to content

Commit 87b771e

Browse files
committed
Sync with microG unofficial installer
1 parent d60d25c commit 87b771e

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/auto-nightly.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ concurrency:
1212
group: "${{ github.repository_id }}-${{ github.workflow }}"
1313
cancel-in-progress: true
1414
jobs:
15-
base-job:
15+
nightly:
1616
name: "Nightly"
1717
runs-on: ubuntu-latest
18+
if: "${{ github.event_name == 'push' && github.ref_type == 'branch' }}"
1819
permissions:
1920
contents: write # Needed to create a tag
2021

@@ -59,13 +60,9 @@ jobs:
5960
shell: bash
6061
run: |
6162
# Do we need to release the nightly?
62-
git fetch -q origin
63+
tag_count="$(git ls-remote --tags -- '${{ github.server_url }}/${{ github.repository }}.git' | wc -l)" || tag_count=0
6364
CREATE_RELEASE='false'
64-
IS_LATEST_COMMIT='false'
65-
if test '${{ github.sha }}' = "$(git log -n 1 --pretty='%H' 'origin/main' || :)"; then
66-
IS_LATEST_COMMIT='true'
67-
fi
68-
if test "${IS_LATEST_COMMIT:?}" = 'true' && '${{ steps.build.outputs.ZIP_BUILD_TYPE_SUPPORTED == 'true' && steps.build.outputs.ZIP_IS_ALPHA == 'true' && github.event_name != 'pull_request' }}'; then
65+
if test "${tag_count?}" != 0 && '${{ github.run_attempt == '1' && steps.build.outputs.ZIP_BUILD_TYPE_SUPPORTED == 'true' && steps.build.outputs.ZIP_IS_ALPHA == 'true' }}'; then
6966
CREATE_RELEASE='true'
7067
fi
7168
printf 'CREATE_RELEASE=%s\n' "${CREATE_RELEASE:?}" >> "${GITHUB_OUTPUT?}"

zip-content/inc/common-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@ inputevent_initialize()
25652565

25662566
INPUT_DEVICE_LIST=''
25672567

2568-
for _device in 'gpio-keys' 'gpio_keys' 'qpnp_pon' 'sec_key' 'sec_touchkey' 'qwerty' 'qwerty2'; do
2568+
for _device in 'gpio-keys' 'gpio_keys' 'qpnp_pon' 's2mpg12-power-keys' 'sec_key' 'sec_touchkey' 'qwerty' 'qwerty2'; do
25692569
if test "${IS_EMU:?}" != 'true'; then
25702570
case "${_device:?}" in 'qwerty' | 'qwerty2') continue ;; *) ;; esac
25712571
fi

zip-content/module.prop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
numericId=928871
66
id=google-sync-addon
77
name=Google sync add-on
8-
version=v1.3.2.6-alpha
8+
version=v1.3.2.7-alpha
99
versionCode=6
1010
author=ale5000
1111
description=It installs Google sync adapters on Android.

0 commit comments

Comments
 (0)