diff --git a/.ci/common/post-upload.sh b/.ci/common/post-upload.sh index f23e0af9a8..10b1006851 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 f60b7560a4..162ada38f2 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' }}