-
-
Notifications
You must be signed in to change notification settings - Fork 748
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bd73c3
commit 4b24012
Showing
2 changed files
with
48 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: PR Build Compose | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- "**.md" | ||
- ".idea/**" | ||
|
||
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: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: gradle | ||
|
||
- name: Build with Gradle | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: ./gradlew assembleRelease --no-daemon | ||
|
||
- name: Sign APK | ||
id: sign_apk | ||
uses: ilharp/sign-android-release@v1 | ||
with: | ||
releaseDir: app/build/outputs/apk/release | ||
signingKey: ${{ secrets.SIGNING_KEYSTORE }} | ||
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }} | ||
keyAlias: ${{ secrets.SIGNING_KEY_ALIAS }} | ||
keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }} | ||
|
||
- name: Upload build | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: revanced-manager-compose | ||
path: ${{ steps.sign_apk.outputs.signedFile }} |
This file was deleted.
Oops, something went wrong.