-
-
Notifications
You must be signed in to change notification settings - Fork 1k
feat: prereleases #1653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
feat: prereleases #1653
Changes from all commits
Commits
Show all changes
214 commits
Select commit
Hold shift + click to select a range
57e2632
feat: implement DI
Canny1913 9536cdc
feat: implement navigation
Canny1913 49f9dfc
feat: splash screen
Canny1913 52bdb1c
Create README.md
alexandreteles e5d898f
feat: backend
CnC-Robert ec0f7e3
build: dependency and syntax updates (#17)
PatrykMis cb0150a
fix: gradlew permissions on unix
Axelen123 9065c0d
feat: Dashboard Screen (#18)
Aunali321 54f0a69
feat: app selector screen
CnC-Robert bca8df8
build: updates (#21)
PatrykMis 4088ed7
feat: settings screen
CnC-Robert 4c3dbbd
feat: patches selector screen
CnC-Robert f1656c6
feat: improved dashboard screen
CnC-Robert 4048792
feat: integrate revanced patcher (#22)
Axelen123 a48faad
build: updates (#23)
PatrykMis 3283965
style: run formatter
Axelen123 ad14818
refactor(net apis): remove unnecessary interfaces
Axelen123 ca20996
refactor(ui): move PatchItem to the only file where it is used
Axelen123 762bfa8
fix(patches selector): copy the selected patches list
Axelen123 52ab793
feat(installer): apk signing and installation
Axelen123 93f3e27
fix: dont crash when the bundle cannot be downloaded
Axelen123 c695fa5
refactor(settings screen): clean code up a bit
9b585c7
feat(settings screen): match typography from figma
fec8c0c
feat(about screen): complete about screen
ea4247c
feat(update screen): complete main update screen
c332760
feat(settings screen): add battery optimization notification
a4842c0
feat: in-app updater (#25)
Aunali321 c22371e
feat: patch bundle sources system (#24)
Axelen123 399fc98
feat: better installer ui (#29)
Axelen123 5cb31db
chore(deps): bump `revanced-patcher` to `9.0.0`
Axelen123 36c4e2d
refactor(di): use constructor DSL for VMs
Axelen123 9f46f74
refactor(logs): use consistent tag
Axelen123 7a5596a
refactor: `PackageManager` (#31)
CnC-Robert ffa8d9c
feat: hide tabs when 1 bundle is used
CnC-Robert e088d05
feat: rename ViewModels for consistency
CnC-Robert 1be9c9c
fix: use correct `getViewModel`
CnC-Robert fcb75dd
feat: improved compose stability
CnC-Robert 27426b1
feat: rename package to `app.revanced.manager`
CnC-Robert 9591f4e
feat: ProGuard
CnC-Robert 7ce4de7
feat(koin): use the android logger
Axelen123 971277e
fix(installer): properly track worker state (#32)
Axelen123 919b6b7
feat: keystore import/export (#30)
Axelen123 b8a51d3
fix(patcher): add notification and wakelock to worker; chore: add app…
Axelen123 535efa3
fix: run blocking IO operations in the correct context
Axelen123 6309e8b
feat: filter options for patches
CnC-Robert 5681c91
feat: show stacktrace in installer ui (#36)
Axelen123 9a55e51
build: bump patcher
Axelen123 2d9f9ad
refactor: better PatchBundle docs and naming
Axelen123 923ce74
feat: save patch selection using room db (#38)
Axelen123 9dd74f1
feat: experimental patches setting
Axelen123 1eac42d
fix(installer): make the correct column scrollable
Axelen123 4302ea8
fix: pass worker inputs without serialization (#44)
Axelen123 0dccb8c
feat: contributors screen (#42)
Tyffhabwe 149c8cc
fix: sources screen being misaligned during transitions
Axelen123 18cbe51
fix(installer): save step incorrectly being marked as completed
Axelen123 81f485d
refactor: use correct coroutine scopes
Axelen123 4868c45
feat: animate the arrow button
Axelen123 7e4ee00
chore: update links in about page
Axelen123 6b7143d
feat: licenses screen (#47)
Axelen123 4d4f1a2
build: update gradle to v8.2
validcube a960672
build: bump patcher
Axelen123 3b65cd0
fix: use correct directory
Axelen123 7ac3bb7
refactor: use getDir instead of filesDir directly
Axelen123 01fd4c8
feat: patch options (#45)
Axelen123 8dd8f88
feat: save patch options and selected patches in bundle (#50)
Axelen123 d9d83df
feat: allow user to save logs
Axelen123 fe5e191
feat: updater changelogs (#48)
Axelen123 4ae9904
fix(installer): sign and install on threads
Axelen123 400163b
build: update dependencies
validcube 453f4da
feat: advanced settings page with device info (#51)
Axelen123 37e177b
revert: downgrade Kotlin to 1.8.21
validcube aa02e9f
feat: improve keystore UI and UX (#52)
Axelen123 7030d43
docs(readme): minor changes to how badges works
validcube c36deea
build: update gradle to v8.2.1
validcube 94a4dba
feat: app downloader (#43)
CnC-Robert 6299ff5
chore: migrate dependencies to version catalogs (#58)
romreviewer d2dcd42
fix: release builds not working properly
Axelen123 955e7a4
feat: ReVanced theme colors
CnC-Robert 5d3b963
feat: disable filter chips when there are no patches
CnC-Robert 879884a
feat: switch to Preferences DataStore (#60)
Axelen123 cd2587b
feat: improve accessibility (#64)
PatrykMis 3238fcd
build: updates (#63)
PatrykMis b472a36
fix: buildfile syntax (#66)
PatrykMis 1331479
fix: serialization not working
Axelen123 21d99a1
feat: add patch bundle info screen (#55)
Tyffhabwe 83b9573
docs(readme): minor fix to displaying url
validcube aec8cec
feat: download apps in patcher screen (#73)
CnC-Robert 61de0b6
feat: show installed app in version selector
CnC-Robert 6beb34b
ci: init
CnC-Robert 272d911
fix(installer): progress tracking
Axelen123 55f2256
fix: don't store app list in parcel
CnC-Robert 5cf5e87
ci(release): task naming consistency
validcube 299aaa2
fix: library info not being embedded
Axelen123 379ce91
feat: finish implementing the sources system (#70)
Axelen123 1707a96
feat: improve bundle dialog UI
Axelen123 7e3c31c
chore: bump patcher
Axelen123 3f059d7
feat: switch to the new api (#75)
Axelen123 7aea947
feat: patch options UI (#80)
Axelen123 f6563b2
fix: permission error when using installed app
Axelen123 9586a9c
fix: patches not being reloaded
Axelen123 0f9a6f4
ci(release): no longer store keystore alias in secrets
PalmDevs ac4c7e0
ci(release): use correct `vars` context object
PalmDevs a0b9255
feat: store patched apps (#79)
CnC-Robert f01adf5
ci(release): migrate from `node12` to `node16`
validcube 3cfa4ea
feat: more info for the select from application screen (#81)
Tyffhabwe 2bb51c1
fix(deps): use correct work-runtime version string
Axelen123 c0badbe
build: updates (#85)
PatrykMis 70e8253
Migrate to compose branch
oSumAtrIX b372f7e
feat: initialize project
Canny1913 eeae46a
chore: bump kotlinx.serialization plugin and patcher
Axelen123 5369a25
docs: update badge's repository
validcube 8bd73c3
ci(release): don't build when not necessary
validcube e6eb8ac
docs: update readme badges (#1227)
BenjaminHalko 212db84
ci(config): appreciation for first-time contributors
validcube 42e0346
feat: make bundles selectable (#1237)
Tyffhabwe 0b0ba21
fix: providers.gradleProperty (#1223)
BenjaminHalko b4dfcf1
fix: minify crash on building release (#1245)
BenjaminHalko bf10af2
feat: root installation (#1243)
CnC-Robert fc577b4
chore: update dependencies (#1247)
PatrykMis 9408857
fix: contributors screen fix (#1256)
BenjaminHalko 6f2ca5b
fix: typo in string name `import_keystore_description` (#1273)
BenjaminHalko 36de61a
ci: build pull requests (#1228)
BenjaminHalko 4cb4ce2
feat: change appID and name of debug builds
BenjaminHalko e0f8d06
fix(ui): make entire patches view button selectable (#1271)
BenjaminHalko a86923a
fix: disable `WebView` history (#1278)
BenjaminHalko ee96c37
refactor: update progress onBackClick function (#1277)
BenjaminHalko cf71ea2
feat: implement Submit Issue button (#1276)
BenjaminHalko f79320c
fix: use ReVanced ring logo in about section (#1302)
BenjaminHalko 65377ff
fix: Updates popup shows incorrect names (#1283)
BenjaminHalko 63fd795
ci: Add release workflow (#1235)
BenjaminHalko 0964f15
docs: init (#1224)
BenjaminHalko 1f8341a
fix: remove misc.xml and kotlinc.xml
BenjaminHalko b8b2e74
chore: fully remove idea project files
Axelen123 ca3c9af
feat: remove dead help icons
Axelen123 f78b56e
feat(patch-selector): default patches selection (#1272)
Axelen123 e232044
chore: switch to revanced library and bump patcher (#1314)
Axelen123 6437f7b
feat(installer): adjust step icon size and alignment
Axelen123 39caad1
feat(installer): adjust arrow icon size
Axelen123 d8392ad
feat(settings): move experimental patches option to advanced
Axelen123 abf4d91
fix: use correct classes to determine option type
Axelen123 723f9cd
fix: delete temporary files (#1341)
Axelen123 608bac6
feat: use revanced api for changelogs
Axelen123 5762859
feat: add patches selector bottom sheet (#1360)
Axelen123 56a4a70
feat: settings migration (compose) (#1309)
BenjaminHalko 8f6d720
refactor(downloaders): improve file system code (#1379)
Axelen123 8f54495
feat: armv7 warning
Axelen123 f5b3b29
feat: hide unfinished pages in release mode
Axelen123 4c1ad86
fix: broken logo in about page on release builds
Axelen123 cee2240
chore: bump compose
Axelen123 bf54d38
chore: bump patcher
Axelen123 212e55f
feat: add user agent (#1382)
BenjaminHalko 5aefb3b
fix: hide patch button (#1284)
BenjaminHalko 7ba00ca
refactor: move mount code to when block
Axelen123 c3af6ac
feat: selected app info page (#1395)
Axelen123 9df98ed
fix: use upsert when modifying installed apps
Axelen123 4b12ae1
fix: jvm signature clash error
Axelen123 18cfb56
fix: bundles not loading on Android 14
Axelen123 5290713
feat(patch-selector): remove TODO about an unplanned feature
Axelen123 32e8a37
fix: handle exceptions when checking for bundle updates
Axelen123 64ec73d
fix: more android 34 fixes
Axelen123 e70c10a
feat: add checkboxes to the downloaded apps page
Axelen123 65f8d38
feat: show toast when no patches are selected
Axelen123 50e8d1f
docs: clarify license
Axelen123 757840b
feat(bundles tab): add BackHandler
Axelen123 cc89784
fix: perform selected app operations in the correct order
Axelen123 6abaac2
chore: upgrade dependencies (#1401)
BenjaminHalko 7d887c7
fix: use correct checksum
Axelen123 172604f
feat(installer): sign apk in patcher worker
Axelen123 123ae37
chore: add issue template (#1432)
BenjaminHalko 7fe4724
feat: remember patch options (#1449)
Axelen123 25bd91d
feat(Settings): use SettingsListItem consistently and overall improve…
Ushie 7741394
feat(NotificationCard): rewrite & consistent usage (#1426)
Ushie 8df7f29
refactor(ui-components): deduplicate colors and move to settings folder
Axelen123 5fff0a2
fix: option state crash (#1456)
BenjaminHalko 3c57762
feat(Installer): use BottomAppBar (#1428)
Ushie 1a83315
feat(Changelogs): overall improvement (#1429)
Ushie 1dc41ba
feat: check for updates on startup (#1462)
CnC-Robert 59dacee
chore: bump patcher
Axelen123 ac561e7
feat: Use correct casing in module description
oSumAtrIX 2bd8463
fix: parcel error for nullable types
Axelen123 62a5fce
feat(Contributors Screen): implement design from Figma (#1465)
Ushie bd9778a
feat(Update Screen): changelogs & handle states (#1464)
Ushie 9cab919
fix: load patch bundles earlier
Axelen123 12b00e5
fix: specify `multithreadingDexFileWriter` in `PatcherOptions` (#1402)
BenjaminHalko de4e616
chore(deps): bump revanced patcher and library
Axelen123 a17a059
ci: caching with `gradle-build-action`
validcube 8cd617e
chore(template): update label name for feature
validcube d9eb1c4
refactor: slight formatting of `build.gradle.kts`
validcube 55c7800
build: bump Gradle to v8.5
validcube a8b9d93
docs: update revanced url
validcube d55abf5
feat(app-selector): show patchable installed apps first (#1496)
TheAabedKhan 439f625
chore(deps): update jetpack compose
Axelen123 4fdd6bb
chore: upgrade AGP to `8.2.0` + migrate deprecated functions (#1574)
BenjaminHalko d9d7b98
feat: Purple default theme (#1601)
BenjaminHalko aa6e612
feat: Select bundle type before adding bundle (#1490)
Ushie b7cb6b9
feat: updater UI and code improvements (#1597)
Axelen123 3232bb1
feat: improve patcher UI (#1494)
CnC-Robert f38b31a
fix: progress bar not updating
CnC-Robert 36c8f59
feat: Scrollbars (#1479)
Ushie c0f3d02
refactor: fix terminology and wording related to patches (#1623)
Axelen123 e186dfd
docs(security): init (#1612)
validcube 4acef77
refactor: use consistent wording for the version compat check
Axelen123 0b9889e
fix: patch options reset button being broken
Axelen123 607d8b6
feat: add toast feedback to the bundle update button
Axelen123 9e344a9
feat: prereleases
BenjaminHalko 906ff56
Use Node 20
BenjaminHalko e753bfc
Update release-build.yml
BenjaminHalko a1bf955
Update build.gradle.kts
BenjaminHalko 1974659
Updated build
BenjaminHalko d047ae9
Updated build again
BenjaminHalko 0f3ae5f
Updated build again, again.
BenjaminHalko adfbc64
Update pr-build.yml
BenjaminHalko fb3681d
Update build.gradle.kts
BenjaminHalko 9e4f1c2
Updated build again, again, again
BenjaminHalko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,120 +1,61 @@ | ||
| name: 🐞 Bug report | ||
| description: Report a very clearly broken issue. | ||
| title: 'bug: <title>' | ||
| labels: [bug] | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| # ReVanced Manager bug report | ||
|
|
||
| Important to note that your issue may have already been reported before. Please check for existing issues [here](https://github.com/revanced/revanced-manager/labels/bug). | ||
|
|
||
| - type: dropdown | ||
| attributes: | ||
| label: Type | ||
| options: | ||
| - Error while running the manager | ||
| - Error at runtime | ||
| - Cosmetic | ||
| - Other | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Bug description | ||
| description: How did you find the bug? Any additional details that might help? | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Steps to reproduce | ||
| description: Add the steps to reproduce this bug, including your environment. | ||
| placeholder: Step 1. Download some files. Step 2. ... | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Android version | ||
| description: Android version used. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Manager version | ||
| description: Manager version used. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Target package name | ||
| description: App you tried to patch. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Target package version. | ||
| description: Version of the app you tried to patch. | ||
| validations: | ||
| required: true | ||
| - type: dropdown | ||
| attributes: | ||
| label: Installation type | ||
| options: | ||
| - Non-root | ||
| - Root | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Patches selected. | ||
| description: Patches you selected for the app. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Device logs (exported using Manager settings). | ||
| description: Please copy and paste any relevant log output. This will be automatically formatted into code, so there is no need for backticks. | ||
| render: shell | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Installer logs (exported using Installer menu option) [unneeded if the issue is not during patching]. | ||
| description: Please copy and paste any relevant log output. This will be automatically formatted into code, so there is no need for backticks. | ||
| render: shell | ||
| validations: | ||
| required: false | ||
| - type: textarea | ||
| attributes: | ||
| label: Screenshots or video | ||
| description: Add screenshots or videos that show the bug here. | ||
| placeholder: Drag and drop the screenshots/videos into this box. | ||
| validations: | ||
| required: false | ||
| - type: textarea | ||
| attributes: | ||
| label: Solution | ||
| description: If applicable, add a possible solution. | ||
| validations: | ||
| required: false | ||
| - type: textarea | ||
| attributes: | ||
| label: Additional context | ||
| description: Add additional context here. | ||
| validations: | ||
| required: false | ||
| - type: checkboxes | ||
| id: acknowledgments | ||
| attributes: | ||
| label: Acknowledgments | ||
| description: Your issue will be closed if you haven't done these steps. | ||
| options: | ||
| - label: I have searched the existing issues; this is new and no duplicate or related to another open issue. | ||
| required: true | ||
| - label: I have written a short but informative title. | ||
| required: true | ||
| - label: I properly filled out all of the requested information in this issue. | ||
| required: true | ||
| - label: The issue is solely related to ReVanced Manager and not caused by patches. | ||
| required: true | ||
| name: 🐞 Bug report | ||
| description: Create a new bug report. | ||
| title: 'bug: <title>' | ||
| labels: [bug] | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| # ReVanced Manager bug report | ||
|
|
||
| Please check for existing issues [here](https://github.com/revanced/revanced-manager/labels/bug) before creating a new one. | ||
| - type: textarea | ||
| attributes: | ||
| label: Bug description | ||
| description: | | ||
| - Describe your bug in detail | ||
| - Add steps to reproduce the bug if possible (Step 1. Download some files. Step 2. ...) | ||
| - Add images and videos if possible | ||
| - List selected patches if applicable | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Version of ReVanced Manager and version & name of application you tried to patch | ||
| validations: | ||
| required: true | ||
| - type: dropdown | ||
| attributes: | ||
| label: Installation type | ||
| options: | ||
| - Non-root | ||
| - Root | ||
| validations: | ||
| required: false | ||
| - type: textarea | ||
| attributes: | ||
| label: Device logs | ||
| description: Export logs in ReVanced Manager settings. | ||
| render: shell | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Patcher logs | ||
| description: Export logs in "Patcher" screen. | ||
| render: shell | ||
| validations: | ||
| required: false | ||
| - type: checkboxes | ||
| attributes: | ||
| label: Acknowledgements | ||
| description: Your issue will be closed if you don't follow the checklist below! | ||
| options: | ||
| - label: This request is not a duplicate of an existing issue. | ||
| required: true | ||
| - label: I have chosen an appropriate title. | ||
| required: true | ||
| - label: All requested information has been provided properly. | ||
| required: true | ||
| - label: The issue is solely related to the ReVanced Manager | ||
| required: true |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,52 +1,42 @@ | ||
| name: ⭐ Feature request | ||
| description: Create a detailed feature request. | ||
| title: 'feat: <title>' | ||
| labels: [feature-request] | ||
| body: | ||
| - type: dropdown | ||
| attributes: | ||
| label: Type | ||
| options: | ||
| - Functionality | ||
| - Cosmetic | ||
| - Other | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Issue | ||
| description: What is the current problem. Why does it require a feature request? | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Feature | ||
| description: Describe your feature in detail. How does it solve the issue? | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Motivation | ||
| description: Why should your feature should be considered? | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Additional context | ||
| description: Add additional context here. | ||
| validations: | ||
| required: false | ||
| - type: checkboxes | ||
| id: acknowledgements | ||
| attributes: | ||
| label: Acknowledgements | ||
| description: Your issue will be closed if you haven't done these steps. | ||
| options: | ||
| - label: I have searched the existing issues and this is a new and no duplicate or related to another open issue. | ||
| required: true | ||
| - label: I have written a short but informative title. | ||
| required: true | ||
| - label: I filled out all of the requested information in this issue properly. | ||
| required: true | ||
| - label: The issue is related solely to the ReVanced Manager | ||
| required: true | ||
| name: ⭐ Feature request | ||
| description: Create a new feature request. | ||
| title: 'feat: <title>' | ||
| labels: [feature request] | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| # ReVanced Manager feature request | ||
|
|
||
| Please check for existing feature requests [here](https://github.com/revanced/revanced-manager/labels/bug) before creating a new one. | ||
| - type: textarea | ||
| attributes: | ||
| label: Feature description | ||
| description: Describe your feature in detail. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Motivation | ||
| description: Explain why the lack of it is a problem. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| attributes: | ||
| label: Additional context | ||
| description: In case there is something else you want to add. | ||
| validations: | ||
| required: false | ||
| - type: checkboxes | ||
| attributes: | ||
| label: Acknowledgements | ||
| description: Your issue will be closed if you don't follow the checklist below! | ||
| options: | ||
| - label: This request is not a duplicate of an existing issue. | ||
| required: true | ||
| - label: I have chosen an appropriate title. | ||
| required: true | ||
| - label: All requested information has been provided properly. | ||
| required: true | ||
| - label: The issue is solely related to the ReVanced Manager | ||
| required: true |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| firstPRMergeComment: > | ||
| Thank you for contributing to ReVanced. Join us on [Discord](https://revanced.app/discord) if you want to receive a contributor role. | ||
| ❤️ Thank you for contributing to ReVanced Manager. Join us on [Discord](https://revanced.app/discord) if you want to receive a contributor role. |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,45 +1,40 @@ | ||
| name: PR Build | ||
| name: Build pull request | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| paths: | ||
| - ".github/workflows/pr-build.yml" | ||
| - "android/**" | ||
| - "assets/**" | ||
| - "lib/**" | ||
|
|
||
| - "app/**" | ||
| - "gradle/**" | ||
| - "*.properties" | ||
| - ".kts" | ||
|
|
||
| jobs: | ||
| build: | ||
| name: Build | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| # Make sure the release step uses its own credentials: | ||
| # https://github.com/cycjimmy/semantic-release-action#private-packages | ||
| persist-credentials: false | ||
| fetch-depth: 0 | ||
| - name: Setup JDK | ||
| uses: actions/setup-java@v3 | ||
| with: | ||
| java-version: '11' | ||
| distribution: 'zulu' | ||
| - name: Setup Flutter | ||
| uses: subosito/flutter-action@v2 | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Get commit hash | ||
| id: get_commit_hash | ||
| run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Set up JDK 17 | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| channel: 'stable' | ||
| cache: true | ||
| - name: Install Flutter dependencies | ||
| run: flutter pub get | ||
| - name: Generate files with Builder | ||
| run: flutter packages pub run build_runner build --delete-conflicting-outputs | ||
| - name: Build with Flutter | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: flutter build apk --debug | ||
| java-version: '17' | ||
| distribution: 'temurin' | ||
|
|
||
| - name: Setup Gradle | ||
| uses: gradle/gradle-build-action@v2 | ||
|
|
||
| - name: Build with Gradle | ||
| run: ./gradlew assembleRelease --no-daemon -PnoProguard -Psuffix=${{ steps.get_commit_hash.outputs.hash }} | ||
|
|
||
| - name: Upload build | ||
| uses: actions/upload-artifact@v3 | ||
| with: | ||
| name: revanced-manager | ||
| path: build/app/outputs/flutter-apk/app-debug.apk | ||
| name: revanced-manager-${{ steps.get_commit_hash.outputs.hash }} | ||
| path: app/build/outputs/apk/release/*.apk | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is proguard disabled?