Skip to content

Revanced APKs

Revanced APKs #10

Workflow file for this run

name: Revanced APKs
on:
schedule:
- cron: '*/60 * * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Revanced Youtube
run: sh revanced youtube
- name: Run Revanced Youtube Music
run: sh revanced youtube-music
- name: Check for APK files
id: check_apks
run: ls yt-*.apk 1> /dev/null 2>&1 && echo "apks_exist=true" >> "$GITHUB_OUTPUT" || echo "apks_exist=false" >> "$GITHUB_OUTPUT"
- name: Upload binaries to release
if: steps.check_apks.outputs.apks_exist == true
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: yt-*.apk
tag: ${{ github.ref }}
overwrite: true
file_glob: true
body: "New Releases."
- name: auwuto commit uwu
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "update: New Version"
repository: .
file_pattern: track
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}