Browse Source
Update action to create pre-release builds
renovate/org.robolectric-robolectric-4.x
Ammar Githam
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
.github/workflows/github_pre_release.yml
|
@ -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 |
|
|
|
|
|
run: ./gradlew assembleGithubRelease --stacktrace |
|
|
|
|
|
|
|
|
- name: Build Github unsigned pre-release apk |
|
|
|
|
|
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}} |