only:longer variable names to facilitate code navigation

This commit is contained in:
rusefillc 2024-05-30 10:52:44 -04:00
parent 431210dc00
commit ce14d48900
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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