Rename to Plugin Compass, add mobile onboarding/signin, implement self-update for desktop, and fix workflow paths
This commit is contained in:
19
.github/workflows/build-android-app.yml
vendored
19
.github/workflows/build-android-app.yml
vendored
@@ -6,9 +6,8 @@ on:
|
||||
- main
|
||||
- master
|
||||
paths:
|
||||
- android-app/**
|
||||
- chat/public/**
|
||||
- .github/workflows/build-android-app.yml
|
||||
- 'android-app/**'
|
||||
- '.github/workflows/build-android-app.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
@@ -46,7 +45,7 @@ jobs:
|
||||
working-directory: android-app
|
||||
|
||||
- name: Initialize Capacitor
|
||||
run: npx cap init "ShopifyAI" com.shopifyai.app --web-dir www
|
||||
run: npx cap init "Plugin Compass" com.plugincompass.app --web-dir www
|
||||
working-directory: android-app
|
||||
|
||||
- name: Add Android platform
|
||||
@@ -69,7 +68,7 @@ jobs:
|
||||
- name: Upload APK artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: shopify-ai-android-apk
|
||||
name: plugin-compass-android-apk
|
||||
path: android-app/android/app/build/outputs/apk/debug/*.apk
|
||||
retention-days: 7
|
||||
|
||||
@@ -79,15 +78,11 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: android-app-${{ github.sha }}
|
||||
release_name: ShopifyAI Android App ${{ github.sha }}
|
||||
tag_name: plugin-compass-android-${{ github.sha }}
|
||||
release_name: Plugin Compass Android ${{ github.sha }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: Get APK filename
|
||||
id: apk
|
||||
run: echo "filename=$(ls android-app/android/app/build/outputs/apk/debug/*.apk)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Upload Release Asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
@@ -95,5 +90,5 @@ jobs:
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: android-app/android/app/build/outputs/apk/debug/app-debug.apk
|
||||
asset_name: ShopifyAI-0.1.0.apk
|
||||
asset_name: Plugin-Compass-0.1.0.apk
|
||||
asset_content_type: application/vnd.android.package-archive
|
||||
|
||||
Reference in New Issue
Block a user