From df53ee610eb3866197ea325c66808311d225cef1 Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Sat, 10 Feb 2024 09:21:25 +0100 Subject: [PATCH] feat: comment built binaries on pull request --- .github/workflows/build-mobile.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build-mobile.yml b/.github/workflows/build-mobile.yml index 862a1e6..0b6bd61 100644 --- a/.github/workflows/build-mobile.yml +++ b/.github/workflows/build-mobile.yml @@ -44,6 +44,12 @@ jobs: - name: Rename apk run: cd apps/expo && mv android/app/build/outputs/apk/release/app-release.apk android/app/build/outputs/apk/release/movie-web.apk + + - name: Comment on pull request + if: github.event_name == 'pull_request' + uses: thollander/actions-comment-pull-request@v2 + with: + filePath: ./apps/expo/android/app/build/outputs/apk/release/movie-web.apk - name: Upload movie-web.apk as artifact uses: actions/upload-artifact@v4 @@ -88,6 +94,12 @@ jobs: cd ios/build/Build/Products/Release-iphoneos zip -r ../../../movie-web.ipa Payload + - name: Comment on pull request + if: github.event_name == 'pull_request' + uses: thollander/actions-comment-pull-request@v2 + with: + filePath: ./apps/expo/ios/build/movie-web.ipa + - name: Upload movie-web.ipa as artifact uses: actions/upload-artifact@v4 with: