From 41a8f5125304a36a465fbc416628b2a107eb69f7 Mon Sep 17 00:00:00 2001 From: Jigar-f Date: Mon, 6 Jan 2025 11:34:47 +0530 Subject: [PATCH 1/3] Update android runner to use high config runner. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 023e8de5a..3748ff4b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,10 +54,10 @@ jobs: platform: macos - os: windows-latest platform: windows - - os: ubuntu-latest + - os: ubuntu-latest-16-cores platform: android target: apk - - os: ubuntu-latest + - os: ubuntu-latest-16-cores platform: android target: aab - os: ubuntu-latest From 9609a3bc32b12a6225c14a35bfaeb264aa3ba609 Mon Sep 17 00:00:00 2001 From: Jigar-f Date: Mon, 6 Jan 2025 12:02:48 +0530 Subject: [PATCH 2/3] Run CI locally. --- .github/workflows/release.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d02e79a52..5177a690d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,8 @@ name: Publish releases on: # Triggers the workflow on push when pushing to a version tag push: + branches: + - jigar/update-android-runner-CI tags: - '*lantern-*' workflow_run: @@ -223,12 +225,12 @@ jobs: shasum -a 256 ${{ env.prefix }}-64-bit.deb | cut -d " " -f 1 > ${{ env.prefix }}-64-bit.deb.sha256 shasum -a 256 ${{ env.prefix }}.ipa | cut -d " " -f 1 > ${{ env.prefix }}.ipa.sha256 - - name: Commit - run: | - mv lantern-installer* ./lantern-binaries/ - cd lantern-binaries - git config user.email "admin@getlantern.org" - git config user.name "Lantern Bot" - git add . - git commit -m "Lantern binaries for version ${{ env.version }}" - git push origin main +# - name: Commit +# run: | +# mv lantern-installer* ./lantern-binaries/ +# cd lantern-binaries +# git config user.email "admin@getlantern.org" +# git config user.name "Lantern Bot" +# git add . +# git commit -m "Lantern binaries for version ${{ env.version }}" +# git push origin main From 91cbf92f80740ba2f02205a7a7edb6f9eb0f14e6 Mon Sep 17 00:00:00 2001 From: Jigar-f Date: Mon, 6 Jan 2025 12:36:18 +0530 Subject: [PATCH 3/3] Remove local branch. --- .github/workflows/release.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5177a690d..d02e79a52 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,6 @@ name: Publish releases on: # Triggers the workflow on push when pushing to a version tag push: - branches: - - jigar/update-android-runner-CI tags: - '*lantern-*' workflow_run: @@ -225,12 +223,12 @@ jobs: shasum -a 256 ${{ env.prefix }}-64-bit.deb | cut -d " " -f 1 > ${{ env.prefix }}-64-bit.deb.sha256 shasum -a 256 ${{ env.prefix }}.ipa | cut -d " " -f 1 > ${{ env.prefix }}.ipa.sha256 -# - name: Commit -# run: | -# mv lantern-installer* ./lantern-binaries/ -# cd lantern-binaries -# git config user.email "admin@getlantern.org" -# git config user.name "Lantern Bot" -# git add . -# git commit -m "Lantern binaries for version ${{ env.version }}" -# git push origin main + - name: Commit + run: | + mv lantern-installer* ./lantern-binaries/ + cd lantern-binaries + git config user.email "admin@getlantern.org" + git config user.name "Lantern Bot" + git add . + git commit -m "Lantern binaries for version ${{ env.version }}" + git push origin main