forked from n0k0m3/revanced-build-template
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (30 loc) · 875 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: ReVanced Build
on:
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/setup-java@v3.10.0
with:
java-version: "17"
distribution: "zulu"
- 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