From c478bc4ad8d5ea6e1e84ed396fd61df664ca2d55 Mon Sep 17 00:00:00 2001 From: lilyLuLiu Date: Wed, 3 Jul 2024 16:00:46 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index de8390b..e4cb2dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,8 +17,9 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 - name: get tag - run: echo ${{ github.event.release.tag_name }} - shell: bash + env: + TAG_CONTEXT: ${{ toJson(github.event.release.tag_name) }} + run: echo "$TAG_CONTEXT" - name: write script run: | cat < build-qe-images.sh @@ -36,7 +37,7 @@ jobs: shell: bash - name: run script run: | - ./build-qe-images.sh ${{ github.event.release.tag_name }} + ./build-qe-images.sh "$TAG_CONTEXT" shell: bash