File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 2121 shell : bash
2222 env :
2323 PLUGIN_PATH : ${{ inputs.plugin-path }}
24+ DRY_RUN : ${{ inputs.dry-run }}
25+ WORKFLOW_PATH : ${{ github.workspace }}
2426 run : bash bin/validate-plugin-version.sh ${{ inputs.plugin-path }}
2527 # - name: Create Pull Request
2628 # if: # something here
Original file line number Diff line number Diff line change @@ -5,11 +5,12 @@ IFS=$'\n\t'
55main (){
66 # If $PLUGIN_PATH is defined, echo it.
77 if [[ -n " ${PLUGIN_PATH:- } " ]]; then
8+ PLUGIN_PATH=${WORKFLOW_PATH} /${PLUGIN_PATH}
89 echo " Plugin path: $PLUGIN_PATH "
910 else
1011 local PLUGIN_PATH
1112 # By default, the plugin path is the root directory of the project that has this action.
12- PLUGIN_PATH=$( pwd )
13+ PLUGIN_PATH=$WORKFLOW_PATH
1314 echo " Plugin path: $PLUGIN_PATH "
1415 fi
1516
You can’t perform that action at this time.
0 commit comments