Skip to content

Commit

Permalink
Android app config and fixes (#267)
Browse files Browse the repository at this point in the history
* Android app confuration and fixes

* Adding ignore files

* Prettier

* Asset load

* Run prettier

* Add upload Web.bundle directory as build artifact

* CR

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
  • Loading branch information
KoalaSat and Reckless-Satoshi authored Oct 4, 2022
1 parent 0a10080 commit 0689377
Show file tree
Hide file tree
Showing 43 changed files with 16,643 additions and 2,188 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Download main.js Artifact'
- name: 'Download Android Web.bundle Artifact (built frontend)'
if: inputs.semver == '' # Only if workflow fired from frontend-build.yml
uses: dawidd6/action-download-artifact@v2
with:
workflow: frontend-build.yml
workflow_conclusion: success
name: mobile-main-js
path: mobile/html/Web.bundle/js/
name: mobile-web.bundle
path: mobile/html

- name: 'Download main.js Artifact for a release'
if: inputs.semver != '' # Only if fired as job in release.yml
Expand All @@ -39,7 +39,7 @@ jobs:
- name: 'Install npm Dependencies'
run: |
cd mobile
npm install --force
npm install
- uses: actions/setup-java@v3
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/frontend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ jobs:
run: |
cd frontend
npm run build
- name: 'Archive Web Built Results'
- name: 'Archive Web Build Results'
uses: actions/upload-artifact@v3
with:
name: web-main-js
path: frontend/static/frontend/main.js
- name: 'Archive Mobile Built Results'
- name: 'Archive Mobile Build Results'
uses: actions/upload-artifact@v3
with:
name: mobile-main-js
path: mobile/html/Web.bundle/js/main.js
name: mobile-web.bundle
path: mobile/html/Web.bundle

# Invoke pre-release image build if this was not a tag push
# Docker images tagged only with short commit hash
Expand Down
Loading

0 comments on commit 0689377

Please sign in to comment.