Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #37 from celeron533/actions
Browse files Browse the repository at this point in the history
Fix build issue

The previous .apk is reported as corrupted on Android

set CordovaCLI in version 9.0.0
update cordova plugins
remove osx platform
  • Loading branch information
celeron533 authored Mar 1, 2022
2 parents 0f55a09 + c9b5562 commit b658127
Show file tree
Hide file tree
Showing 4 changed files with 1,409 additions and 667 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,17 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
# cache: 'npm'
cache: 'yarn'

- run: yarn
# - run: npm ci
- run: npm run build --if-present
# - run: npm test


- name: install Cordova
run: npm i -g cordova
run: npm i -g [email protected]

- name: add Android support
run: |
cd $GITHUB_WORKSPACE/wilddream-app
Expand All @@ -60,6 +62,6 @@ jobs:
uses: actions/[email protected]
with:
# Artifact name
name: android apk
name: android apk - Node ${{ matrix.node-version }}
# A file, directory or wildcard pattern that describes what to upload
path: ${{GITHUB.WORKSPACE}}/wilddream-app/platforms/android/app/build/outputs/apk/**/*.apk
3 changes: 0 additions & 3 deletions wilddream-app/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
wilddream Team
</author>
<content src="index.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
Expand All @@ -30,7 +29,5 @@
<allow-intent href="itms-apps:*" />
</platform>
<preference name="DisallowOverscroll" value="true" />
<engine name="ios" spec="^5.0.1" />
<engine name="osx" spec="^5.0.0" />
<preference name="KeyboardShrinksView" value="true" />
</widget>
Loading

0 comments on commit b658127

Please sign in to comment.