File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ jobs:
140140 container_name : rockylinux:8
141141 build : true
142142 build_installer : true
143+ need_deploy : false
143144 qmake_extra : " CONFIG+=tests CONFIG+=noPch CONFIG+=ccache CONFIG+=sanitizer CONFIG+=sanitize-undefined CONFIG+=sanitize_address"
144145 gcc_version : 13
145146 trik_qt_version : 5.15
Original file line number Diff line number Diff line change 1414 required : false
1515 type : boolean
1616 default : false
17+ need_deploy :
18+ required : false
19+ type : boolean
20+ default : true
1721 build :
1822 required : true
1923 type : boolean
@@ -175,6 +179,7 @@ jobs:
175179 EXECUTOR : ${{ inputs.executor }}
176180 BRANCH_NAME : ${{ github.event.pull_request.head.ref }}
177181 PULLREQUESTNUMBER : ${{ github.event.pull_request.number }}
182+ NEED_DEPLOY : ${{ inputs.need_deploy }}
178183 ssh_key : ${{ secrets.DL_PRIVATE_SSH_KEY }}
179184 username : ${{ secrets.DL_USERNAME }}
180185 host : ${{ secrets.DL_HOST }}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ case "$RUNNER_OS" in
1717esac
1818df -h .
1919
20- NEED_DEPLOY=$( [[ " $GITHUB_REPOSITORY " == " trikset/trik-studio" && " ${PULLREQUESTNUMBER:- false} " == " false" ]] && echo true || echo false )
20+ NEED_DEPLOY=${NEED_DEPLOY :- $ ([[ "$GITHUB_REPOSITORY" == "trikset/trik-studio" && "${PULLREQUESTNUMBER:-false}" == "false" ]] && echo true || echo false )}
2121
2222if " $NEED_DEPLOY " ; then
2323 $EXECUTOR bash -c " mkdir -p $HOME /.ssh && install -m 600 /dev/null $HOME /.ssh/id_rsa && echo \" $ssh_key \" > $HOME /.ssh/id_rsa"
You can’t perform that action at this time.
0 commit comments