Former-commit-id: d0b8c5c8ba298ac9d7ecbfef5dead7e54387f8bc
This commit is contained in:
j-hc 2022-06-25 18:27:12 +03:00
parent f632c95ac1
commit 26409f7d2a
2 changed files with 21 additions and 0 deletions

20
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,20 @@
on: workflow_dispatch
jobs:
run:
runs-on: ubuntu-latest
steps:
- run: |
git clone "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" .
./build-module.sh
- id: get_output_name
run: echo ::set-output name=OUTPUT::$(cat build-module.sh | sed -n 's/.*OUTPUT="\(.*\)".*/\1/p')
shell: bash
- name: Upload release
uses: svenstaro/upload-release-action@2.3.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.get_output_name.outputs.OUTPUT }}
asset_name: ${{ steps.get_output_name.outputs.OUTPUT }}
release_name: ${{ steps.get_output_name.outputs.OUTPUT }}
overwrite: true

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
*.keystore
!base-v17.24.34.apk
.v*