From bf03fb83aef1b4eb13b11dd6523940d096b9fa49 Mon Sep 17 00:00:00 2001 From: liushuyu Date: Thu, 12 Nov 2020 16:57:20 -0700 Subject: [PATCH] ci: fix mingw folder name (#5607) --- .ci/common/post-upload.sh | 2 +- .github/workflows/ci.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/common/post-upload.sh b/.ci/common/post-upload.sh index f23e0af9a..10b100685 100755 --- a/.ci/common/post-upload.sh +++ b/.ci/common/post-upload.sh @@ -14,7 +14,7 @@ if [ -z $GIT_TAG_NAME ]; then RELEASE_NAME=head else RELEASE_NAME=$(echo $GIT_TAG_NAME | cut -d- -f1) - if [ "$NAME" = "MinGW build" ]; then + if [ "$NAME" = "linux-mingw" ]; then RELEASE_NAME="${RELEASE_NAME}-mingw" fi fi diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f60b7560a..162ada38f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,8 @@ jobs: - name: Pack run: ./.ci/${{ matrix.image }}/upload.sh if: ${{ matrix.image != 'linux-frozen' && matrix.image != 'linux-clang-format' }} + env: + NAME: ${{ matrix.image }} - name: Upload uses: actions/upload-artifact@v2 if: ${{ matrix.image != 'linux-frozen' && matrix.image != 'linux-clang-format' }}