only:longer variable names to facilitate code navigation
This commit is contained in:
parent
431210dc00
commit
ce14d48900
|
@ -190,8 +190,8 @@ jobs:
|
|||
- name: Set Build Env Variables
|
||||
working-directory: ./firmware/
|
||||
run: |
|
||||
echo LTS=${{toJSON(inputs.lts)}} >> $GITHUB_ENV
|
||||
echo REF=${{github.ref_name}} >> $GITHUB_ENV
|
||||
echo AUTOMATION_LTS=${{toJSON(inputs.lts)}} >> $GITHUB_ENV
|
||||
echo AUTOMATION_REF=${{github.ref_name}} >> $GITHUB_ENV
|
||||
echo BOARD_META_PATH=${{matrix.meta-info}} >> $GITHUB_ENV
|
||||
|
||||
- name: Git Status
|
||||
|
|
|
@ -33,8 +33,8 @@ mkdir ${bundle_upload_folder}
|
|||
SSHCMD
|
||||
|
||||
RET=0
|
||||
if [ "$LTS" == "true" -a -n "$REF" ]; then
|
||||
DESTINATION_FOLDER="${bundle_upload_folder}/lts/${REF}"
|
||||
if [ "$AUTOMATION_LTS" == "true" -a -n "$AUTOMATION_REF" ]; then
|
||||
DESTINATION_FOLDER="${bundle_upload_folder}/lts/${AUTOMATION_REF}"
|
||||
# sftp does not support -p flag on mkdir :(
|
||||
sshpass -p $PASS sftp -o StrictHostKeyChecking=no ${USER}@${HOST} <<SSHCMD
|
||||
mkdir ${bundle_upload_folder}/lts
|
||||
|
|
Loading…
Reference in New Issue