File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ name: Build Mobile Apps
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ version :
7+ description : ' Release version (e.g. v1.1.0)'
8+ required : true
59
610permissions :
711 contents : write
@@ -110,3 +114,31 @@ jobs:
110114 with :
111115 name : OmniPizza-iOS-Simulator
112116 path : frontend-mobile/ios/build/Build/Products/Release-iphonesimulator/OmniPizza-Simulator.zip
117+
118+ release :
119+ name : Create GitHub Release
120+ needs : [build-android, build-ios]
121+ runs-on : ubuntu-latest
122+
123+ steps :
124+ - name : Download Android Artifact
125+ uses : actions/download-artifact@v4
126+ with :
127+ name : OmniPizza-Android
128+ path : artifacts/android
129+
130+ - name : Download iOS Artifact
131+ uses : actions/download-artifact@v4
132+ with :
133+ name : OmniPizza-iOS-Simulator
134+ path : artifacts/ios
135+
136+ - name : Create Release and Upload Assets
137+ uses : softprops/action-gh-release@v2
138+ with :
139+ tag_name : ${{ github.event.inputs.version }}
140+ name : OmniPizza ${{ github.event.inputs.version }}
141+ generate_release_notes : true
142+ files : |
143+ artifacts/android/app-release.apk
144+ artifacts/ios/OmniPizza-Simulator.zip
You can’t perform that action at this time.
0 commit comments