Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI #3

Merged
merged 16 commits into from
Jul 15, 2022
33 changes: 33 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'

- name: Run Stuff And Build
run: |
sudo apt-get update
sudo apt-get upgrade
sudo apt install curl grep
git clone https://GitHub.com/XDream8/revanced-creator "vanced"
cd vanced
chmod +x patch.sh
nonroot=0 ./patch.sh

- name: Upload Build Artifact
uses: actions/upload-artifact@v3
with:
name: revanced
path: vanced/*.apk