Skip to content

Commit

Permalink
Update pr_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
izzy2fancy authored Mar 7, 2024
1 parent 72fcad3 commit 98a3544
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ jobs:
run: ./gradlew --no-daemon --stacktrace --build-cache --parallel --configure-on-demand assembleDevRelease assembleDevReldebug

- name: Rename APKs
if: ${{ vars.UPLOAD_PR_ARTIFACTS == 'true' }}
if: ${{ env.UPLOAD_PR_ARTIFACTS == 'true' }}
run: |
mv app/build/outputs/apk/dev/release/app-dev-release.apk strato-pr${{ github.event.number }}-release.apk
mv app/build/outputs/apk/dev/reldebug/app-dev-reldebug.apk strato-pr${{ github.event.number }}-reldebug.apk
- name: Upload Release APK
if: ${{ vars.UPLOAD_PR_ARTIFACTS == 'true' }}
if: ${{ env.UPLOAD_PR_ARTIFACTS == 'true' }}
uses: actions/upload-artifact@v4
with:
name: strato-pr${{ github.event.number }}-release.apk
path: strato-pr${{ github.event.number }}-release.apk

- name: Upload Debug APK
if: ${{ vars.UPLOAD_PR_ARTIFACTS == 'true' }}
if: ${{ env.UPLOAD_PR_ARTIFACTS == 'true' }}
uses: actions/upload-artifact@v4
with:
name: strato-pr${{ github.event.number }}-reldebug.apk
Expand Down

0 comments on commit 98a3544

Please sign in to comment.