File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 4747 cwd : " ./test"
4848 compose-files : " "
4949 mode : " staging"
50+ verbose : true
5051 command : " compose up --dry-run --project-name github-action-test"
5152
5253 - name : Teardown
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ jobs:
135135 mode: "staging"
136136 provider: "aws"
137137 command: "compose up"
138+ verbose: true
138139 env:
139140 API_KEY: ${{ secrets.API_KEY }}
140141 DB_CONNECTION_STRING: ${{ secrets.DB_CONNECTION_STRING }}
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ inputs:
3434 description : " The command to run."
3535 required : false
3636 default : " compose up"
37+ verbose :
38+ description : " Enable verbose output for debugging."
39+ required : false
40+ default : " false"
3741
3842runs :
3943 using : " composite"
9195 params+=("--mode=${{ inputs['mode'] }}")
9296 fi
9397
98+ if [[ "${{ inputs['verbose'] }}" == "true" ]]; then
99+ params+=("--verbose")
100+ fi
101+
94102 echo defang $COMMAND "${params[@]}"
95103 defang $COMMAND "${params[@]}"
96104 env :
You can’t perform that action at this time.
0 commit comments