Former-commit-id: d32c7bbed178abd4513c06b8556f89f4455dfb3c
This commit is contained in:
j-hc 2022-06-25 18:27:12 +03:00
parent f632c95ac1
commit 0d5ec73e4b
3 changed files with 25 additions and 5 deletions

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

@ -0,0 +1,24 @@
on: workflow_dispatch
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "17"
- 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*

View File

@ -1,11 +1,6 @@
#!/bin/bash
echo "All necessary files (revanced cli, patches and integrations) will be downloaded, Youtube apk will be patched and zipped into a Magisk module"
read -p "Continue? (y/n): " confirm
if [[ ! $confirm == [yY] ]]; then
exit 0
fi
# CURRENT VERSION
YTBASE="base-v17.24.34.apk"