forked from synyx/MeeRoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the release can be further customized with the provided actions References synyx#43
- Loading branch information
Patrick Helm
committed
Oct 2, 2022
1 parent
32058b5
commit ca1bd68
Showing
2 changed files
with
38 additions
and
3 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
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,33 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- name: Build with Gradle | ||
run: ./gradlew buildRelease | ||
- name: Sign app | ||
uses: ilharp/sign-android-release@v1 | ||
id: sign_app | ||
with: | ||
keyAlias: ${{ secrets.ANDROID_KEY_ALIAS }} | ||
keyPassword: ${{ secrets.ANDROID_KEY_PASSWORD }} | ||
keyStorePassword: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }} | ||
signingKey: ${{ secrets.ANDROID_SIGNING_KEY }} | ||
- name: Create Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ${{steps.sign_app.outputs.signedFile}} |