Update action to create pre-release builds

This commit is contained in:
Ammar Githam 2021-03-27 00:43:18 +09:00 committed by GitHub
parent f3a778db5c
commit 6bc2d38782
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
name: Github release build
name: Github pre-release build
on: workflow_dispatch
# push:
@ -23,8 +23,8 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Github unsigned release apk
run: ./gradlew assembleGithubRelease --stacktrace
- name: Build Github unsigned pre-release apk
run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre
- name: Sign APK
uses: r0adkll/sign-android-release@v1
@ -45,5 +45,5 @@ jobs:
- name: Create apk artifact
uses: actions/upload-artifact@v2
with:
name: barinsta-hotfix-${{ steps.date.outputs.date }}
name: barinsta_pre-release_${{ steps.date.outputs.date }}
path: ${{steps.sign_app.outputs.signedReleaseFile}}