diff --git a/.github/workflows/deploy-luda-editor.yml_disabled b/.github/workflows/deploy-luda-editor.yml_disabled index 3bd21aadc..e149e0ace 100644 --- a/.github/workflows/deploy-luda-editor.yml_disabled +++ b/.github/workflows/deploy-luda-editor.yml_disabled @@ -27,10 +27,10 @@ jobs: - name: set BRANCH_NAME, STACK_NAME run: | - BRANCH_NAME=$(echo "${{ github.event.ref }}" | tr "[:upper:]" "[:lower:]" | sed -e "s#refs/heads/##g" -e 's/\//-/g' -e 's/|/-/g') + export BRANCH_NAME=$(echo "${{ github.event.ref }}" | tr "[:upper:]" "[:lower:]" | sed -e "s#refs/heads/##g" -e 's/\//-/g' -e 's/|/-/g') echo $BRANCH_NAME echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV - STACK_NAME=$(echo $BRANCH_NAME | tr "[:upper:]" "[:lower:]" | tr -cd '[:alnum:]') + export STACK_NAME=$(echo $BRANCH_NAME | tr "[:upper:]" "[:lower:]" | tr -cd '[:alnum:]') echo $STACK_NAME echo "STACK_NAME=$STACK_NAME" >> $GITHUB_ENV diff --git a/.github/workflows/destory-luda-editor.yml_disabled b/.github/workflows/destory-luda-editor.yml_disabled index 162af0ab1..9990de065 100644 --- a/.github/workflows/destory-luda-editor.yml_disabled +++ b/.github/workflows/destory-luda-editor.yml_disabled @@ -15,10 +15,10 @@ jobs: - name: set BRANCH_NAME, STACK_NAME run: | - BRANCH_NAME=$(echo "${{ github.event.ref }}" | tr "[:upper:]" "[:lower:]" | sed -e "s#refs/heads/##g" -e 's/\//-/g' -e 's/|/-/g') + export BRANCH_NAME=$(echo "${{ github.event.ref }}" | tr "[:upper:]" "[:lower:]" | sed -e "s#refs/heads/##g" -e 's/\//-/g' -e 's/|/-/g') echo $BRANCH_NAME echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV - STACK_NAME=$(echo $BRANCH_NAME | tr "[:upper:]" "[:lower:]" | tr -cd '[:alnum:]') + export STACK_NAME=$(echo $BRANCH_NAME | tr "[:upper:]" "[:lower:]" | tr -cd '[:alnum:]') echo $STACK_NAME echo "STACK_NAME=$STACK_NAME" >> $GITHUB_ENV diff --git a/.github/workflows/oioi-agent-image-push.yml b/.github/workflows/oioi-agent-image-push.yml index 3ce993cf5..f360b47f8 100644 --- a/.github/workflows/oioi-agent-image-push.yml +++ b/.github/workflows/oioi-agent-image-push.yml @@ -125,10 +125,10 @@ jobs: - name: Deploy test cdk working-directory: oioi run: | - BRANCH_NAME=$(echo "${GITHUB_REF}" | tr "[:upper:]" "[:lower:]" | sed -e "s#refs/heads/##g" -e 's/\//-/g' -e 's/|/-/g') + export BRANCH_NAME=$(echo "${GITHUB_REF}" | tr "[:upper:]" "[:lower:]" | sed -e "s#refs/heads/##g" -e 's/\//-/g' -e 's/|/-/g') echo BRANCH_NAME = $BRANCH_NAME echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV - STACK_NAME=$(echo $BRANCH_NAME | tr "[:upper:]" "[:lower:]" | tr -cd '[:alnum:]') + export STACK_NAME=$(echo $BRANCH_NAME | tr "[:upper:]" "[:lower:]" | tr -cd '[:alnum:]') echo STACK_NAME = $STACK_NAME echo "STACK_NAME=$STACK_NAME" >> $GITHUB_ENV