Skip to content

Commit 6f0d1a0

Browse files
authored
Merge pull request #2 from devicecloud-dev/tweaks
improvement
2 parents 15a7542 + 9928a36 commit 6f0d1a0

File tree

5 files changed

+34104
-22322
lines changed

5 files changed

+34104
-22322
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,16 @@ If you don't want the action to wait until the Upload has been completed as is t
111111

112112
# Adding environment variables
113113

114-
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"}`:
114+
If you want to pass environment variables along with your upload, add a multiline `env` argument:
115115

116116
```yaml
117117
- uses: devicecloud-dev/device-cloud-for-maestro@v1
118118
with:
119119
api-key: ${{ secrets.DCD_API_KEY }}
120120
app-file: app.zip
121-
env: '{"VAR_1":"Some variable", "VAR_2":"A different variable"}'
121+
env: |
122+
USERNAME=<username>
123+
PASSWORD=<password>
122124
```
123125

124126
# Using tags

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ inputs:
1414
workspace:
1515
description: 'Path to a folder that contains your test flows'
1616
required: false
17+
default: './.maestro/'
1718
env:
1819
description: 'Set of key=value entries to pass as an input to Maestro flows'
1920
required: false

0 commit comments

Comments
 (0)