1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-08 15:57:29 +00:00

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

View File

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