Skip to content

Commit

Permalink
fix: app icon
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Sep 26, 2024
1 parent 982e416 commit 3ff51d9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ jobs:
if: ${{ inputs.dist-path }}
run: mv dist/${{ inputs.dist-path }}/* dist

- name: Add app icon
if: ${{ inputs.icon-path }}
run: |
mkdir assets
cp dist/${{ inputs.icon-path }} assets/icon.png
npx capacitor-assets generate --android
- name: Update capacitor config
uses: restackio/[email protected]
with:
Expand All @@ -67,6 +60,13 @@ jobs:
- name: Add android platform
run: npx cap add android

- name: Add app icon
if: ${{ inputs.icon-path }}
run: |
mkdir assets
cp dist/${{ inputs.icon-path }} assets/icon.png
npx capacitor-assets generate --android
- name: Sync Capacitor
run: npx cap sync

Expand Down

0 comments on commit 3ff51d9

Please sign in to comment.