build root module in ci

This commit is contained in:
Kavish Devar
2025-01-14 01:41:59 +05:30
parent d77142c9a3
commit ba22d7c2a7
2 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
name: CI
name: Build APK and root module (and create nightly release)
on:
push:
@@ -63,9 +63,12 @@ jobs:
run: |
COMMITS=$(git log ${{ steps.fetch-tag.outputs.tag }}..HEAD --pretty=format:"- %s (%h)" --abbrev-commit)
echo "::set-output name=commits::${COMMITS}"
- name: Zip root-module directory
run: zip -r -0 ../btl2capfix.zip * --verbose
working-directory: root-module
- name: Delete release if exist then create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release view "nightly" && gh release delete "nightly" -y --cleanup-tag
gh release create "nightly" "./$APK_NAME" -p -t "Nightly Release" -n "${{ steps.get-commits.outputs.commits }}" --generate-notes
gh release create "nightly" "./$APK_NAME" "./btl2capfix.zip" -p -t "Nightly Release" -n "${{ steps.get-commits.outputs.commits }}" --generate-notes