mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-28 00:56:07 +00:00
build root module in ci
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: CI
|
name: Build APK and root module (and create nightly release)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -63,9 +63,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
COMMITS=$(git log ${{ steps.fetch-tag.outputs.tag }}..HEAD --pretty=format:"- %s (%h)" --abbrev-commit)
|
COMMITS=$(git log ${{ steps.fetch-tag.outputs.tag }}..HEAD --pretty=format:"- %s (%h)" --abbrev-commit)
|
||||||
echo "::set-output name=commits::${COMMITS}"
|
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
|
- name: Delete release if exist then create release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh release view "nightly" && gh release delete "nightly" -y --cleanup-tag
|
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
|
||||||
BIN
btl2capfix.zip
BIN
btl2capfix.zip
Binary file not shown.
Reference in New Issue
Block a user