BILIBILI #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: BILIBILI | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
java-version: "17" | |
distribution: "adopt" | |
- name: copy file | |
run: | | |
cp -r sh/* ./ | |
- name: chmod download | |
run: chmod +x download.sh | |
- name: download | |
run: ./download.sh | |
- name: chmod Build | |
run: chmod +x patch_bilibili.sh | |
- name: Build apk | |
run: ./patch_bilibili.sh | |
- name: Zipalign chmod | |
run: chmod +x zipalign_sign.sh | |
- name: Zipalign and Sign Android release | |
run: ./zipalign_sign.sh | |
- uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "BILIBILI" | |
draft: true | |
title: " ${{ env.PERSEUS_VERSION }}" | |
files: | | |
build/*.apk |