File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ # web-to-app-action
2+
3+ Use this action to convert you website HTML/Web-assets to APK for Andriod.
4+
5+ ## Inputs
6+
7+ ### ` build-folder-path `
8+
9+ ** Optional** . Defaults to "build/", It is the path where HTML/web-assets are stored.
10+
11+ ### ` app-name `
12+
13+ ** Optional** . Defaults to "MyApp", It is the name of your app whose APK is created.
14+
15+ ### ` output-folder-path `
16+
17+ ** Optional** . Defaults to "apk/", It is the path where all types of APK are stored (Debug and Release).
18+
19+
20+ ## Example action workflow
21+
22+ ``` yaml
23+ name : Convert build files to APK and upload to Github Artifacts
24+ on : push
25+
26+ jobs :
27+ build :
28+ runs-on : ubuntu-latest
29+ strategy :
30+ matrix :
31+ node-version : [16.x]
32+
33+ steps :
34+ - uses : actions/checkout@v2
35+ - name : Use Node.js ${{ matrix.node-version }}
36+ uses : actions/setup-node@v2
37+ with :
38+ node-version : ${{ matrix.node-version }}
39+ cache : ' npm'
40+
41+ - run : npm install
42+ - run : npm run build
43+
44+ - uses : darkshredder/web-to-app-action@main
45+ with :
46+ build-folder-path : " build" # Defaults to build, It is the folder where build files or html are stored
47+ app-name : " Your-App-Name" # Defaults to MyApp
48+ output-folder-path : " my-apks" # Defaults to apk/, Where final APK files are created
49+
50+ - name : ' Upload Artifact'
51+ uses : actions/upload-artifact@v2
52+ with :
53+ name : Final-apks
54+ path : my-apks/ # Should be same as "output-folder-path"
55+ ` ` `
You can’t perform that action at this time.
0 commit comments