diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8a52d6..1ce9541 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file + gh release create "nightly" "./$APK_NAME" "./btl2capfix.zip" -p -t "Nightly Release" -n "${{ steps.get-commits.outputs.commits }}" --generate-notes \ No newline at end of file diff --git a/btl2capfix.zip b/btl2capfix.zip deleted file mode 100644 index cabcc30..0000000 Binary files a/btl2capfix.zip and /dev/null differ