ReVancedBuilder/.github/workflows/main.yml
2022-10-09 17:37:34 -05:00

36 lines
843 B
YAML

name: ReVanced Build
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/setup-java@v3.3.0
with:
java-version: "17"
distribution: "adopt"
- name: Download APKs from APKMirror
run: ./download_apkmirror.sh
- name: Build APKs
run: ./build_revanced.sh
- name: Set current date as env variable
run: echo "date_now=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
draft: true
title: "Release ${{ env.date_now }}"
files: |
build/*.apk
vanced-microG.apk