Skip to content

Commit

Permalink
ReVancedUpdater: Go back to debug
Browse files Browse the repository at this point in the history
* Mfw I forgot that my check for dev builds relies on the app being compiled as debug
* Keep signing

Signed-off-by: Leonardo Ledda <leonardoledda@gmail.com>
  • Loading branch information
LeddaZ committed Nov 14, 2023
1 parent 518cd62 commit e9711d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
java-version: 17

- name: Build with Gradle
run: ./gradlew assembleRelease
run: ./gradlew assembleDebug

- uses: ilharp/sign-android-release@v1
name: Sign APK
id: sign_app
with:
releaseDir: app/build/outputs/apk/release
releaseDir: app/build/outputs/apk/debug
signingKey: '${{ secrets.SIGNING_KEY }}'
keyAlias: '${{ secrets.ALIAS }}'
keyStorePassword: '${{ secrets.KEY_STORE_PASSWORD }}'
Expand All @@ -34,7 +34,7 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: app-release.apk
name: app-debug.apk
path: ${{steps.sign_app.outputs.signedFile}}

- uses: marvinpinto/action-automatic-releases@latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class MainActivity : AppCompatActivity() {
Gson().fromJson(response, object : TypeToken<CommitJSONObject>() {}.type)
latestUpdaterCommit = commitReply.latestUpdaterCommit.substring(0, 7)
updaterDownloadUrl =
"https://github.com/LeddaZ/ReVancedUpdater/releases/download/dev/app-release.apk"
"https://github.com/LeddaZ/ReVancedUpdater/releases/download/dev/app-debug.apk"
callback.onSuccess()
}, {})

Expand Down

0 comments on commit e9711d8

Please sign in to comment.