mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 12:33:26 +00:00
feat: comment built binaries on pull request
This commit is contained in:
12
.github/workflows/build-mobile.yml
vendored
12
.github/workflows/build-mobile.yml
vendored
@@ -45,6 +45,12 @@ jobs:
|
|||||||
- name: Rename apk
|
- 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
|
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
|
- name: Upload movie-web.apk as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -88,6 +94,12 @@ jobs:
|
|||||||
cd ios/build/Build/Products/Release-iphoneos
|
cd ios/build/Build/Products/Release-iphoneos
|
||||||
zip -r ../../../movie-web.ipa Payload
|
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
|
- name: Upload movie-web.ipa as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user