Skip to content

Commit

Permalink
make ci usable
Browse files Browse the repository at this point in the history
  • Loading branch information
indrastorms committed Jul 18, 2024
1 parent 45f3204 commit 8f536d8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build pull request

on:
workflow_dispatch:
pull_request:
paths:
- ".github/workflows/pr-build.yml"
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Release Build

on:
workflow_dispatch:
push:
tags:
- "v*"
tags-ignore:
- 'latest'


jobs:
build:
Expand All @@ -25,8 +27,8 @@ jobs:

- name: Build with Gradle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew assembleRelease --no-daemon
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
run: ./gradlew assembleRelease --no-daemon -PnoProguard

- name: Sign APK
id: sign_apk
Expand All @@ -44,6 +46,7 @@ jobs:
- name: Publish release APK
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
repo_token: "${{ secrets.GIT_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
files: revanced-manager-${{ env.RELEASE_VERSION }}.apk
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ android {
buildToolsVersion = "34.0.0"

defaultConfig {
applicationId = "app.revanced.manager"
applicationId = "app.revanced.manager.compose"
minSdk = 26
targetSdk = 34
versionCode = 1
Expand Down

0 comments on commit 8f536d8

Please sign in to comment.