Skip to content

Commit 836d61e

Browse files
authored
ci: cleanup
1 parent 867bdac commit 836d61e

File tree

1 file changed

+6
-23
lines changed

1 file changed

+6
-23
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- uses: actions/setup-python@v4
4444
with:
45-
python-version: '3'
45+
python-version: '3'
4646

4747
- uses: actions/setup-java@v2
4848
with:
@@ -92,34 +92,17 @@ jobs:
9292
env:
9393
TEMPLATE_NAME: ${{ matrix.template }}
9494
run: |
95+
echo "---"
96+
echo "Creating myApp using template: $(pwd)/templates/packages/$TEMPLATE_NAME"
97+
echo "---"
9598
ns create myApp --template="$(pwd)/templates/packages/$TEMPLATE_NAME"
9699
cd myApp
97100
npm install
98101
99102
- name: Test iOS Build
100103
working-directory: myApp
101-
run: |
102-
ns build ios
104+
run: ns build ios
103105

104106
- name: Test Android Build
105107
working-directory: myApp
106-
run: |
107-
# cat <<EOT > _fix_ndk_version.js
108-
# const fs = require('fs');
109-
# const path = require('path');
110-
111-
# const appGradlePath = path.resolve(
112-
# __dirname,
113-
# 'App_Resources/Android/app.gradle'
114-
# );
115-
# let contents = fs.readFileSync(appGradlePath);
116-
# contents = contents.toString().replace(
117-
# 'defaultConfig {',
118-
# 'ndkVersion "22.1.7171670"\n defaultConfig {'
119-
# );
120-
# fs.writeFileSync(appGradlePath, contents);
121-
# EOT
122-
#
123-
# node _fix_ndk_version.js
124-
125-
ns build android
108+
run: ns build android

0 commit comments

Comments
 (0)