File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,16 @@ Start Dev Proxy with optional configuration file. Dev Proxy will run in the back
3737- name: Start Dev Proxy
3838 uses: dev-proxy-tools/actions/start@v0
3939 with:
40- logFile : devproxy.log # optional, defaults to devproxy.log
41- configFile : ./devproxy .json # optional, defaults to devproxyrc.json
40+ log-file : devproxy.log # optional, defaults to devproxy.log
41+ config-file : ./devproxyrc .json # optional, will use default configuration if not provided
4242` ` `
4343
4444**Inputs:**
4545
4646| Name | Description | Required | Default |
4747|------|-------------|----------|---------|
48- | `logFile ` | The file to log Dev Proxy output to | Yes | `devproxy.log` |
49- | `configFile ` | The path to the Dev Proxy configuration file | No | - |
48+ | `log-file ` | The file to log Dev Proxy output to | Yes | `devproxy.log` |
49+ | `config-file ` | The path to the Dev Proxy configuration file | No | - |
5050
5151# ## Stop
5252
Original file line number Diff line number Diff line change 11name : Start Dev Proxy
22description : Start Dev Proxy
33inputs :
4- logFile :
4+ log-file :
55 description : The file to log Dev Proxy output to
66 required : true
77 default : devproxy.log
8- configFile :
8+ config-file :
99 description : The path to the Dev Proxy configuration file
1010 required : false
1111runs :
1414 - name : Start Dev Proxy
1515 id : start
1616 run : |
17- log_file="${{ inputs.logFile }}"
17+ log_file="${{ inputs.log-file }}"
1818
1919 echo "Starting Dev Proxy..."
2020
3232 # log Dev Proxy output to the log file
3333 # log stdout and stderr to the file
3434 config_arg=""
35- if [ -n "${{ inputs.configFile }}" ]; then
36- config_arg="-c ${{ inputs.configFile }}"
35+ if [ -n "${{ inputs.config-file }}" ]; then
36+ config_arg="-c ${{ inputs.config-file }}"
3737 fi
3838
3939 ./devproxy/devproxy $config_arg > $log_file 2>&1 &
You can’t perform that action at this time.
0 commit comments