feat: update CI workflow to include release creation and fix artifact upload action version
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
name: Build App
|
name: Build App
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -49,8 +52,16 @@ jobs:
|
|||||||
working-directory: mobile
|
working-directory: mobile
|
||||||
|
|
||||||
- name: 📤 Upload build artifact
|
- name: 📤 Upload build artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: android-preview-build.zip
|
name: android-preview-build.zip
|
||||||
path: mobile/app-build
|
path: mobile/app-build
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: 🚀 Create release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
files: mobile/app-build
|
||||||
|
generate_release_notes: true
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user