mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-04-29 22:24:34 +02:00
ci
Former-commit-id: d32c7bbed178abd4513c06b8556f89f4455dfb3c
This commit is contained in:
parent
f632c95ac1
commit
0d5ec73e4b
24
.github/workflows/build.yml
vendored
Normal file
24
.github/workflows/build.yml
vendored
Normal 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
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
*.keystore
|
||||
|
||||
!base-v17.24.34.apk
|
||||
.v*
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user