forked from Neat-Pagos/android-package-name-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
42 lines (42 loc) · 1.42 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: "Increment the version code of your project v1.0.0"
description: "This action replace App Package Name on all neccesary files"
inputs:
androidManifestPath:
description: "Android Manifest path to override version"
required: true
default: "android/app/src/main/AndroidManifest.xml"
buildGradlePath:
description: "Build gradle path to override version"
required: true
default: "android/app/build.gradle"
stringsPath:
description: "Strings xml path to override version"
required: true
default: "android/app/src/main/res/values/strings.xml"
mainActivityPath:
description: "Main Activity path to override version"
required: true
default: "android/app/src/main/java/com/neatmobileapp/MainActivity.java"
mainApplicationPath:
description: "Main Application path to override version"
required: true
default: "android/app/src/main/java/com/neatmobileapp/MainApplication.java"
reactNativeFlipperPath:
description: ReactNative Flipper path to override version"
required: true
default: "android/app/src/release/java/com/neatmobileapp/ReactNativeFlipper.java"
newPackageName:
description: "The new package name"
required: true
oldPackageName:
description: "The old package name"
required: true
outputs:
result: # id of output
description: "Action Result"
runs:
using: "node20"
main: "dist/index.js"
branding:
color: 'blue'
icon: 'anchor'