ci: fix mingw folder name (#5607)

master
liushuyu 2020-11-12 16:57:20 +07:00 committed by GitHub
parent 045efe8268
commit bf03fb83ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

@ -14,7 +14,7 @@ if [ -z $GIT_TAG_NAME ]; then
RELEASE_NAME=head RELEASE_NAME=head
else else
RELEASE_NAME=$(echo $GIT_TAG_NAME | cut -d- -f1) RELEASE_NAME=$(echo $GIT_TAG_NAME | cut -d- -f1)
if [ "$NAME" = "MinGW build" ]; then if [ "$NAME" = "linux-mingw" ]; then
RELEASE_NAME="${RELEASE_NAME}-mingw" RELEASE_NAME="${RELEASE_NAME}-mingw"
fi fi
fi fi

@ -35,6 +35,8 @@ jobs:
- name: Pack - name: Pack
run: ./.ci/${{ matrix.image }}/upload.sh run: ./.ci/${{ matrix.image }}/upload.sh
if: ${{ matrix.image != 'linux-frozen' && matrix.image != 'linux-clang-format' }} if: ${{ matrix.image != 'linux-frozen' && matrix.image != 'linux-clang-format' }}
env:
NAME: ${{ matrix.image }}
- name: Upload - name: Upload
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
if: ${{ matrix.image != 'linux-frozen' && matrix.image != 'linux-clang-format' }} if: ${{ matrix.image != 'linux-frozen' && matrix.image != 'linux-clang-format' }}