Skip to content

Commit 81bc83f

Browse files
committed
Update: README.md
1 parent 2470e9a commit 81bc83f

File tree

6 files changed

+97
-0
lines changed

6 files changed

+97
-0
lines changed

.run/_sample.run.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="sample" type="GradleRunConfiguration" factoryName="Gradle">
3+
<ExternalSystemSettings>
4+
<option name="executionName" />
5+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
6+
<option name="externalSystemIdString" value="GRADLE" />
7+
<option name="scriptParameters" value="" />
8+
<option name="taskDescriptions">
9+
<list />
10+
</option>
11+
<option name="taskNames">
12+
<list>
13+
<!-- add your task here -->
14+
<option value=":app:assembleDebug" />
15+
</list>
16+
</option>
17+
<option name="vmOptions" />
18+
</ExternalSystemSettings>
19+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
20+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
21+
<DebugAllEnabled>false</DebugAllEnabled>
22+
<RunAsTest>false</RunAsTest>
23+
<method v="2" />
24+
</configuration>
25+
</component>

README.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- Clear (Articfact naming)
2323
- Sample Naming : ${date_today} - ${repository_name} - ${playstore_name} - APK(s) release generated
2424
- Private Repository Tested (Passed Build App bundle(s) and APK generated successfully)
25+
- Local Run With .run configuration in Local Machine
2526
- Full Code For Github Action Workflows [Click Here](https://github.com/amirisback/automated-build-android-app-with-github-action/blob/master/.github/workflows/generate-apk-aab-debug-release.yml)
2627

2728
## Version Release
@@ -39,6 +40,7 @@ What's New??
3940
* Update Java Action version to 3 *
4041
* Update Android SDK Tools *
4142
* Add Bundletool.jar for workflow github action *
43+
* Add .run configuration *
4244

4345
## Article Sources
4446
- [How To Securely Build and Sign Your Android App With GitHub Actions](https://proandroiddev.com/how-to-securely-build-and-sign-your-android-app-with-github-actions-ad5323452ce)
@@ -340,6 +342,76 @@ jobs:
340342
#### Extract it !!! Done
341343
![ScreenShot](https://raw.githubusercontent.com/amirisback/automated-build-android-app-with-github-action/master/docs/image/bundletool/ss_bundle_5.png?raw=true)
342344
345+
## .run Configuration (Alternative if you don't have github action)
346+
- Run on your local machine
347+
![ScreenShot](https://raw.githubusercontent.com/amirisback/automated-build-android-app-with-github-action/master/docs/image/ss-apk-configuration-01.png?raw=true)
348+
349+
### Step 1: Create Folder .run on Root Project Directory
350+
![ScreenShot](https://raw.githubusercontent.com/amirisback/automated-build-android-app-with-github-action/master/docs/image/ss-apk-configuration-01.png?raw=true)
351+
352+
### Step 2: Create File [name-config].run.xml
353+
```xml
354+
<component name="ProjectRunConfigurationManager">
355+
<!-- Add Name Configuration Here -->
356+
<configuration default="false" name="${your-config-name}" type="GradleRunConfiguration" factoryName="Gradle">
357+
<ExternalSystemSettings>
358+
<option name="executionName" />
359+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
360+
<option name="externalSystemIdString" value="GRADLE" />
361+
<option name="scriptParameters" value="" />
362+
<option name="taskDescriptions">
363+
<list />
364+
</option>
365+
<option name="taskNames">
366+
<list>
367+
<!-- TODO : add your task here -->
368+
<option value=":app:assembleDebug" />
369+
</list>
370+
</option>
371+
<option name="vmOptions" />
372+
</ExternalSystemSettings>
373+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
374+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
375+
<DebugAllEnabled>false</DebugAllEnabled>
376+
<RunAsTest>false</RunAsTest>
377+
<method v="2" />
378+
</configuration>
379+
</component>
380+
```
381+
- Note : if you confuse you can use this feature
382+
![ScreenShot](https://raw.githubusercontent.com/amirisback/automated-build-android-app-with-github-action/master/docs/image/ss-apk-configuration-03.png?raw=true)
383+
384+
### Step 3: Your Configuration Will Appears on this Menu
385+
![ScreenShot](https://raw.githubusercontent.com/amirisback/automated-build-android-app-with-github-action/master/docs/image/ss-apk-configuration-04.png?raw=true)
386+
387+
### Sample Configuration (signingreport)
388+
```xml
389+
<component name="ProjectRunConfigurationManager">
390+
<configuration default="false" name="signingreport" type="GradleRunConfiguration" factoryName="Gradle">
391+
<ExternalSystemSettings>
392+
<option name="executionName" />
393+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
394+
<option name="externalSystemIdString" value="GRADLE" />
395+
<option name="scriptParameters" value="" />
396+
<option name="taskDescriptions">
397+
<list />
398+
</option>
399+
<option name="taskNames">
400+
<list>
401+
<option value="signingreport" />
402+
</list>
403+
</option>
404+
<option name="vmOptions" />
405+
</ExternalSystemSettings>
406+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
407+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
408+
<DebugAllEnabled>false</DebugAllEnabled>
409+
<RunAsTest>false</RunAsTest>
410+
<method v="2" />
411+
</configuration>
412+
</component>
413+
```
414+
343415
## Colaborator
344416
Very open to anyone, I'll write your name under this, please contribute by sending an email to me
345417

docs/image/ss-configuration-01.png

205 KB
Loading

docs/image/ss-configuration-02.png

35.3 KB
Loading

docs/image/ss-configuration-03.png

9.66 KB
Loading

docs/image/ss-configuration-04.png

40.7 KB
Loading

0 commit comments

Comments
 (0)