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
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -49,8 +52,16 @@ jobs:
|
||||
working-directory: mobile
|
||||
|
||||
- name: 📤 Upload build artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: android-preview-build.zip
|
||||
path: mobile/app-build
|
||||
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