-
Notifications
You must be signed in to change notification settings - Fork 97
57 lines (52 loc) · 1.5 KB
/
Dev.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Dev
on:
# push:
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: Install dependencies
run: |
sudo apt-get update
sudo apt-get install unrar
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.10.11
cache: "pip"
cache-dependency-path: "py/requirements.txt"
- name: Install Requirements
run: |
pip install -r requirements.txt
working-directory: py
- name: Update AssetBundles
run: |
python downloadAsset.py
working-directory: py
# - 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