mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
@@ -56,14 +56,14 @@ jobs:
|
|||||||
- name: Delete Older Releases
|
- name: Delete Older Releases
|
||||||
uses: nikhilbadyal/ghaction-rm-releases@v0.0.1
|
uses: nikhilbadyal/ghaction-rm-releases@v0.0.1
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
RELEASE_PATTERN: 'Build*'
|
RELEASE_PATTERN: 'Build*'
|
||||||
|
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
uses: ncipollo/release-action@v1.11.1
|
uses: ncipollo/release-action@v1.11.1
|
||||||
with:
|
with:
|
||||||
artifacts: "*-output.apk"
|
artifacts: "*-output.apk"
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: Build-${{ steps.get-date.outputs.date }}
|
tag: Build-${{ steps.get-date.outputs.date }}
|
||||||
artifactErrorsFailBuild: true
|
artifactErrorsFailBuild: true
|
||||||
generateReleaseNotes: true
|
generateReleaseNotes: true
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
if: ${{ inputs.VIRUSTOTAL_SCAN }}
|
if: ${{ inputs.VIRUSTOTAL_SCAN }}
|
||||||
secrets:
|
secrets:
|
||||||
VT_API_KEY: ${{ secrets.VT_API_KEY }}
|
VT_API_KEY: ${{ secrets.VT_API_KEY }}
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
upload-to-telegram:
|
upload-to-telegram:
|
||||||
needs: [ upload-to-github ]
|
needs: [ upload-to-github ]
|
||||||
@@ -120,4 +120,4 @@ jobs:
|
|||||||
needs: [ upload-to-telegram ]
|
needs: [ upload-to-telegram ]
|
||||||
uses: ./.github/workflows/github-cleanup.yml
|
uses: ./.github/workflows/github-cleanup.yml
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -18,4 +18,4 @@ jobs:
|
|||||||
name: GitHub Cleanup
|
name: GitHub Cleanup
|
||||||
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
|
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ jobs:
|
|||||||
name: GitHub Cleanup
|
name: GitHub Cleanup
|
||||||
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
|
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -13,6 +13,6 @@ jobs:
|
|||||||
uses: nikhilbadyal/ghactions/.github/workflows/python-precommit-updater.yml@main
|
uses: nikhilbadyal/ghactions/.github/workflows/python-precommit-updater.yml@main
|
||||||
if: github.repository == 'nikhilbadyal/docker-py-revanced'
|
if: github.repository == 'nikhilbadyal/docker-py-revanced'
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
PYTHON_VERSION: '3.10'
|
PYTHON_VERSION: '3.10'
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
vt_api_key: ${{ secrets.VT_API_KEY }}
|
vt_api_key: ${{ secrets.VT_API_KEY }}
|
||||||
update_release_body: true
|
update_release_body: true
|
||||||
github_token: ${{ secrets.GH_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
request_rate: 4
|
request_rate: 4
|
||||||
files: |
|
files: |
|
||||||
.apk$
|
.apk$
|
||||||
|
|||||||
@@ -15,12 +15,8 @@ You can use any of the following methods to build.
|
|||||||
|
|
||||||
- 🚀In GitHub (**_`Recommended`_**)
|
- 🚀In GitHub (**_`Recommended`_**)
|
||||||
1. Fork the project.
|
1. Fork the project.
|
||||||

|
![fork]
|
||||||
2. Add following secrets to the repo.
|
2. Add `ENVS` (**optional**) secret to the repo. Required only if you want to cook specific apps/versions.
|
||||||
1. _GH_TOKEN_ (**required**) - GitHub token so that it can upload to GitHub
|
|
||||||
after building. Click [here](#generate-token) to learn how to get that.
|
|
||||||
2. _VT_API_KEY_ (optional) - required only if you want Virus total scan.
|
|
||||||
3. _ENVS_ (optional) - required only if you want to cook specific apps/versions.
|
|
||||||
<details>
|
<details>
|
||||||
<summary>🚶Detailed step by step guide</summary>
|
<summary>🚶Detailed step by step guide</summary>
|
||||||
|
|
||||||
@@ -31,8 +27,7 @@ You can use any of the following methods to build.
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
3. Go to actions tab. Select `Build Revanced APK`.Click on `Run Workflow`.
|
3. Go to actions tab. Select `Build & Release`.Click on `Run Workflow`.
|
||||||
1. It can take a few minute to start. Just be patient.
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>🚶Detailed step by step guide</summary>
|
<summary>🚶Detailed step by step guide</summary>
|
||||||
@@ -40,16 +35,11 @@ You can use any of the following methods to build.
|
|||||||
- Go to actions tab
|
- Go to actions tab
|
||||||
![action_0]
|
![action_0]
|
||||||
- Check the status of build, It should look green.
|
- Check the status of build, It should look green.
|
||||||
![action_1]
|
![build_wait]
|
||||||
- Check logs if something fails.
|
|
||||||
![action_2]
|
|
||||||
![action_3]
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
4. If the building process is successful, you’ll get your APKs in the releases
|
4. If the building process is successful, you’ll get your APKs in the ![apks]
|
||||||
- ![apks]
|
|
||||||
5. Click on **`Build-<SomeRandomDate>`** and download the apk file.
|
|
||||||
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@@ -253,21 +243,15 @@ By default, script build the version as recommended by Revanced team.
|
|||||||
```
|
```
|
||||||
Possible values for `ARCHS_TO_BUILD` are: `armeabi-v7a`,`x86`,`x86_64`,`arm64-v8a`
|
Possible values for `ARCHS_TO_BUILD` are: `armeabi-v7a`,`x86`,`x86_64`,`arm64-v8a`
|
||||||
Make sure you are using `revanced-extended` as `revanced` doesn't support this.
|
Make sure you are using `revanced-extended` as `revanced` doesn't support this.
|
||||||
13. Sample Envs ![envs]
|
13. You can scan your build apks files with VirusTotal. For that, Add `VT_API_KEY` in `GitHub secrets`.
|
||||||
|
14. Sample Envs ![envs]
|
||||||
### Generate Token
|
|
||||||
1. Go to your account developer [settings](https://github.com/settings/tokens). Click on generate new token.<br>
|
|
||||||
<img src="https://i.imgur.com/grofl9E.png" height="150">
|
|
||||||
2. Give a nice name. and grant following permissions<br>
|
|
||||||
<img src="https://user-images.githubusercontent.com/22337329/186550702-69c5fb77-32c3-4689-bb5c-3a213daa5e19.png" width="400" height="450">
|
|
||||||
|
|
||||||
|
[fork]: https://i.imgur.com/R5HdByI.png
|
||||||
[secrets]: https://i.imgur.com/083Bjpg.png
|
[secrets]: https://i.imgur.com/083Bjpg.png
|
||||||
[step_1]: https://i.imgur.com/Inj82KK.png
|
[step_1]: https://i.imgur.com/Inj82KK.png
|
||||||
[step_2]: https://user-images.githubusercontent.com/22337329/186521861-42786e8d-5db4-43ef-9676-2f7e7c0eddc4.png
|
[step_2]: https://i.imgur.com/V2Wfx3J.png
|
||||||
[action_0]: https://i.imgur.com/M1XdjZC.png
|
[action_0]: https://i.imgur.com/XSCvzav.png
|
||||||
[action_1]: https://user-images.githubusercontent.com/22337329/186533319-0aebf294-9bac-4859-b4e1-1b4c87d39f48.png
|
[build_wait]: https://i.imgur.com/CsJt9W1.png
|
||||||
[action_2]: https://user-images.githubusercontent.com/22337329/186533358-e27e30bc-0d16-4f56-a335-0387c481dbf8.png
|
|
||||||
[action_3]: https://user-images.githubusercontent.com/22337329/186533417-15477a2c-28c3-4e39-9f3d-c4e18202d000.png
|
|
||||||
[apks]: https://i.imgur.com/S5d7qAO.png
|
[apks]: https://i.imgur.com/S5d7qAO.png
|
||||||
[chat id]: https://i.imgur.com/22UiaWs.png
|
[chat id]: https://i.imgur.com/22UiaWs.png
|
||||||
[bot api]: https://i.imgur.com/A6JCyK2.png
|
[bot api]: https://i.imgur.com/A6JCyK2.png
|
||||||
|
|||||||
+2
-2
@@ -7,6 +7,6 @@ set -o nounset
|
|||||||
export PATCH_APPS=youtube,twitter,reddit,youtube_music
|
export PATCH_APPS=youtube,twitter,reddit,youtube_music
|
||||||
export BUILD_EXTENDED=True
|
export BUILD_EXTENDED=True
|
||||||
export EXCLUDE_PATCH_YOUTUBE=custom-branding,enable-debugging
|
export EXCLUDE_PATCH_YOUTUBE=custom-branding,enable-debugging
|
||||||
export EXCLUDE_PATCH_YOUTUBE_EXTENDED=custom-branding-icon-red,custom-branding-icon-blue,custom-branding-icon-revancify,custom-branding-name,custom-package-name,materialyou
|
export EXCLUDE_PATCH_YOUTUBE_EXTENDED=custom-branding-icon-red,custom-branding-icon-blue,custom-branding-icon-revancify,custom-branding-name,custom-package-name,materialyou,website
|
||||||
export EXCLUDE_PATCH_YOUTUBE_MUSIC_EXTENDED=custom-branding-music-red,custom-branding-music-revancify,custom-package-name-music,compact-header
|
export EXCLUDE_PATCH_YOUTUBE_MUSIC_EXTENDED=custom-branding-music-red,custom-branding-music-revancify,custom-package-name-music,compact-header,website-music
|
||||||
export ARCHS_TO_BUILD=arm64-v8a
|
export ARCHS_TO_BUILD=arm64-v8a
|
||||||
|
|||||||
Reference in New Issue
Block a user