From 0c25f28a446ffb1339924edbfb94071dc0a0ab73 Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 16:43:13 +0300 Subject: [PATCH 01/13] Upload Android build artifact after building Add step to upload Android build artifact to workflow --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c11a8e248..4d25ea9522 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,6 +29,12 @@ jobs: - name: Build android-armv7a run: | scripts/build-android-armv7a.sh + - name: Upload Android build + uses: actions/upload-artifact@v3 + with: + name: android-armv7a-build + path: android-armv7a-build.zip + retention-days: 30 build-windows-i386: runs-on: windows-2019 From ac79fe951ea34dc07fa9193f0570a712032fcfe6 Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 16:43:57 +0300 Subject: [PATCH 02/13] Add zip command to package Android build artifacts --- scripts/build-android-armv7a.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build-android-armv7a.sh b/scripts/build-android-armv7a.sh index 4c7201ff9c..848e8f95c8 100755 --- a/scripts/build-android-armv7a.sh +++ b/scripts/build-android-armv7a.sh @@ -7,3 +7,4 @@ export ANDROID_NDK_HOME=$PWD/android-ndk-r10e/ export NDK_HOME=$PWD/android-ndk-r10e/ ./waf configure -T debug --android=armeabi-v7a-hard,4.9,21 --togles --disable-warns && ./waf build +zip -r android-armv7a-build.zip build/ From 2bcec5816e6c8d3236c1f2e39004c97ab71b999e Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 16:46:05 +0300 Subject: [PATCH 03/13] Remove retention days for android-armv7a artifact Removed retention days for uploaded artifact in build workflow. --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d25ea9522..aa2711db5e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,6 @@ jobs: with: name: android-armv7a-build path: android-armv7a-build.zip - retention-days: 30 build-windows-i386: runs-on: windows-2019 From 7159a3f0ae797f59c47e1875ebc9bc21c23e17a7 Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 16:57:43 +0300 Subject: [PATCH 04/13] Refactor GitHub Actions to remove duplicate android-armv7a job Removed duplicate android-armv7a build job and consolidated steps. --- .github/workflows/build.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa2711db5e..31f7590df8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,21 @@ name: Build on: [push, pull_request] jobs: + + build-android-armv7a: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v2 + - name: Build android-armv7a + run: | + scripts/build-android-armv7a.sh + - name: Upload Android build + uses: actions/upload-artifact@v3 + with: + name: android-armv7a-build + path: android-armv7a-build.zip + build-linux-i386: runs-on: ubuntu-latest @@ -21,20 +36,6 @@ jobs: run: | scripts/build-ubuntu-amd64.sh - build-android-armv7a: - runs-on: ubuntu-20.04 - - steps: - - uses: actions/checkout@v2 - - name: Build android-armv7a - run: | - scripts/build-android-armv7a.sh - - name: Upload Android build - uses: actions/upload-artifact@v3 - with: - name: android-armv7a-build - path: android-armv7a-build.zip - build-windows-i386: runs-on: windows-2019 From 8f88471465b33b6e2ba8fb3791f3efcd79bef74b Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 17:03:54 +0300 Subject: [PATCH 05/13] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 31f7590df8..08e30d7542 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: [push, pull_request] jobs: build-android-armv7a: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 From a0dc77de4102b7e1bb64e99f2c3ef5ffecfef735 Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 17:05:27 +0300 Subject: [PATCH 06/13] since when githun started updating actions --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08e30d7542..5c1d76131b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: run: | scripts/build-android-armv7a.sh - name: Upload Android build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: android-armv7a-build path: android-armv7a-build.zip From 21ff2b4bc9bee5b642630d9d675f8a2cabcffb2a Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 17:28:50 +0300 Subject: [PATCH 07/13] Enhance build workflow with permissions and release step Added permissions for write access and a release step to publish artifacts. --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c1d76131b..21d678e909 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,8 @@ jobs: build-android-armv7a: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v2 @@ -17,6 +19,16 @@ jobs: with: name: android-armv7a-build path: android-armv7a-build.zip + - name: release + uses: softprops/action-gh-release@v1 + with: + files: android-armv7a-build.zip + body: "automated release" + draft: false + env: + GITHUB_TOKEN: $ + {{ secrets.GITHUB_TOKEN }} # just a placeholder! dont put token on the secrets. + build-linux-i386: runs-on: ubuntu-latest From b5f2b587b409eb01524e7ac0875d8e20a64c2ca1 Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 18:00:29 +0300 Subject: [PATCH 08/13] Refactor release step in build.yml Updated GitHub Actions workflow for release process. --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21d678e909..45793ca9c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,12 +22,11 @@ jobs: - name: release uses: softprops/action-gh-release@v1 with: - files: android-armv7a-build.zip - body: "automated release" - draft: false - env: - GITHUB_TOKEN: $ - {{ secrets.GITHUB_TOKEN }} # just a placeholder! dont put token on the secrets. + token: ${{ secrets.GITHUB_TOKEN }} + files: + tag_name: ${{ github.ref_name }} + draft: true + prerelease: false # tokens just a placeholder! dont put token on the secrets. build-linux-i386: From 55f625cba4c4f43fd6f8d8bf88a770bc85b93d4f Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 18:00:54 +0300 Subject: [PATCH 09/13] Update release action to include specific files --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 45793ca9c6..d7f84b010e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: uses: softprops/action-gh-release@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - files: + files: android-armv7a-build.zip tag_name: ${{ github.ref_name }} draft: true prerelease: false # tokens just a placeholder! dont put token on the secrets. From 120d36690626d6691285b88812a82951382e68ab Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 18:18:11 +0300 Subject: [PATCH 10/13] Last commit Updated release step to finalize the initial release and mark it as the latest version. --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7f84b010e..ce11e72563 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,10 +22,12 @@ jobs: - name: release uses: softprops/action-gh-release@v1 with: + body: initial release token: ${{ secrets.GITHUB_TOKEN }} files: android-armv7a-build.zip - tag_name: ${{ github.ref_name }} - draft: true + tag_name: ${{ github.ref_name }} + make_latest: true + draft: false prerelease: false # tokens just a placeholder! dont put token on the secrets. From 31b4bbd36489ef11144151e317a0bd35a4dee953 Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 18:18:30 +0300 Subject: [PATCH 11/13] K --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce11e72563..13270c4b96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: - name: release uses: softprops/action-gh-release@v1 with: - body: initial release + body: "initial release" token: ${{ secrets.GITHUB_TOKEN }} files: android-armv7a-build.zip tag_name: ${{ github.ref_name }} From baa8c9b57a8cbaf4e1ddf048ae61a38628b2d1fa Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Sun, 29 Mar 2026 18:33:02 +0300 Subject: [PATCH 12/13] K --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13270c4b96..d33f331a3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,6 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} files: android-armv7a-build.zip tag_name: ${{ github.ref_name }} - make_latest: true draft: false prerelease: false # tokens just a placeholder! dont put token on the secrets. From 0307f03c9f9239e6331bbf83ff8bbadfa29f0f57 Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Mon, 30 Mar 2026 16:59:22 +0300 Subject: [PATCH 13/13] k --- scripts/build-android-armv7a.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-android-armv7a.sh b/scripts/build-android-armv7a.sh index 848e8f95c8..c6479a23bd 100755 --- a/scripts/build-android-armv7a.sh +++ b/scripts/build-android-armv7a.sh @@ -5,6 +5,6 @@ wget https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip unzip android-ndk-r10e-linux-x86_64.zip export ANDROID_NDK_HOME=$PWD/android-ndk-r10e/ export NDK_HOME=$PWD/android-ndk-r10e/ -./waf configure -T debug --android=armeabi-v7a-hard,4.9,21 --togles --disable-warns && +./waf configure -T release --android=armeabi-v7a-hard,4.9,21 --togles --disable-warns && ./waf build zip -r android-armv7a-build.zip build/