Skip to content

Commit 5249704

Browse files
committed
change name
1 parent 41f382f commit 5249704

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It lets you run your flows on [devicecloud.dev](https://devicecloud.dev) to save
99
Add the following to your workflow. Note that you can use the `v1` tag if you want to keep using the latest version of the action, which will automatically resolve to all `v1.minor.patch` versions as they get published.
1010

1111
```yaml
12-
- uses: devicecloud.dev/maestro-device-cloud@v1
12+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
1313
with:
1414
api-key: ${{ secrets.DCD_API_KEY }}
1515
app-file: <path_to_your_app_file>
@@ -22,22 +22,23 @@ Trigger this action on (1) pushes to your main branch and (2) pull requests open
2222
```yaml
2323
on:
2424
push:
25-
branches: [master]
25+
branches: [main]
2626
pull_request:
27-
branches: [master]
27+
branches: [main]
2828
```
2929
3030
If you need to use the `pull_request_target` trigger to support repo forks, check out the HEAD of the pull request to ensure that you're running the analysis against the changed code:
3131

3232
```yaml
3333
on:
3434
push:
35-
branches: [master]
35+
branches: [main]
3636
pull_request_target:
37-
branches: [master]
37+
branches: [main]
3838
jobs:
3939
run-maestro-on-dcd:
4040
name: Run Flows on devicecloud.dev
41+
runs-on: ubuntu-latest
4142
steps:
4243
- uses: actions/checkout@v3
4344
with:
@@ -47,7 +48,7 @@ jobs:
4748
# Android
4849

4950
```yaml
50-
- uses: devicecloud.dev/maestro-device-cloud@v1
51+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
5152
with:
5253
api-key: ${{ secrets.DCD_API_KEY }}
5354
app-file: app/build/outputs/apk/debug/app-debug.apk
@@ -58,7 +59,7 @@ jobs:
5859
# iOS
5960

6061
```yaml
61-
- uses: devicecloud.dev/maestro-device-cloud@v1
62+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
6263
with:
6364
api-key: ${{ secrets.DCD_API_KEY }}
6465
app-file: <app_name>.app
@@ -71,7 +72,7 @@ jobs:
7172
By default, the action is looking for a `.maestro` folder with Maestro flows in the root directory of the project. If you would like to customize this behaviour, you can override it with a `workspace` argument:
7273

7374
```yaml
74-
- uses: devicecloud.dev/maestro-device-cloud@v1
75+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
7576
with:
7677
api-key: ${{ secrets.DCD_API_KEY }}
7778
app-file: app.zip
@@ -89,7 +90,7 @@ A name will automatically be provided according to the following order:
8990
If you want to override this behaviour and specify your own name, you can do so by setting the `name` argument:
9091

9192
```yaml
92-
- uses: devicecloud.dev/maestro-device-cloud@v1
93+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
9394
with:
9495
api-key: ${{ secrets.DCD_API_KEY }}
9596
app-file: app.zip
@@ -101,7 +102,7 @@ If you want to override this behaviour and specify your own name, you can do so
101102
If you don't want the action to wait until the Upload has been completed as is the default behaviour, set the `async` argument to `true`:
102103

103104
```yaml
104-
- uses: devicecloud.dev/maestro-device-cloud@v1
105+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
105106
with:
106107
api-key: ${{ secrets.DCD_API_KEY }}
107108
app-file: app.zip
@@ -113,7 +114,7 @@ If you don't want the action to wait until the Upload has been completed as is t
113114
If you want to pass environment variables along with your upload, The variables must be passed as stringified JSON in the form `{"VAR_1":"VAL_1","VAR_2":"VAL_2"}`:
114115

115116
```yaml
116-
- uses: devicecloud.dev/maestro-device-cloud@v1
117+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
117118
with:
118119
api-key: ${{ secrets.DCD_API_KEY }}
119120
app-file: app.zip
@@ -127,7 +128,7 @@ You can use Maestro [Tags](https://maestro.mobile.dev/cli/tags) to filter which
127128
You can either pass a single value, or comma-separated (`,`) values.
128129

129130
```yaml
130-
- uses: devicecloud.dev/maestro-device-cloud@v1
131+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
131132
with:
132133
api-key: ${{ secrets.DCD_API_KEY }}
133134
app-file: app.zip
@@ -142,7 +143,7 @@ You can specify what Android API level to use when running in devicecloud.dev us
142143
The default API level is 33. [Refer to docs](https://docs.devicecloud.dev/getting-started/devices-configuration) for available Android emulator API levels.
143144

144145
```yaml
145-
- uses: devicecloud.dev/maestro-device-cloud@v1
146+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
146147
with:
147148
api-key: ${{ secrets.DCD_API_KEY }}
148149
app-file: app.apk
@@ -156,7 +157,7 @@ You can specify what **major** iOS Version to use when running in devicecloud.de
156157
The default iOS version is 17. [Refer to docs](https://docs.devicecloud.dev/getting-started/devices-configuration) for available iOS simulator versions.
157158

158159
```yaml
159-
- uses: devicecloud.dev/maestro-device-cloud@v1
160+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
160161
with:
161162
api-key: ${{ secrets.DCD_API_KEY }}
162163
app-file: app.zip
@@ -168,7 +169,7 @@ The default iOS version is 17. [Refer to docs](https://docs.devicecloud.dev/gett
168169
You can use an already uploaded App binary in devicecloud.dev using the `app-binary-id` parameter.
169170

170171
```yaml
171-
- uses: devicecloud.dev/maestro-device-cloud@v1
172+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
172173
with:
173174
api-key: ${{ secrets.DCD_API_KEY }}
174175
app-binary-id: <your-app-binary-id>

0 commit comments

Comments
 (0)