Fixed GitHub Actios wheels upload tagged releases being overwritten

This commit is contained in:
evandrocoan 2020-05-01 15:57:38 -03:00
parent ae7991f4b6
commit 4df920884c

View file

@ -42,7 +42,7 @@ jobs:
"PIP_WHEELS_DIR": "~/.cache/pip",
"CARGO_INDEX_DIR": "~/.cargo/git",
"CARGO_REGISTRY_DIR": "~/.cargo/registry",
"ANKI_PYTHON_WHEELS": "anki_linux_python_wheels"
"ANKI_PYTHON_WHEELS": "anki_linux_python"
},
{
"os": "macos-latest",
@ -51,7 +51,7 @@ jobs:
"PIP_WHEELS_DIR": "~/Library/Caches/pip",
"CARGO_INDEX_DIR": "~/.cargo/git",
"CARGO_REGISTRY_DIR": "~/.cargo/registry",
"ANKI_PYTHON_WHEELS": "anki_macos_python_wheels"
"ANKI_PYTHON_WHEELS": "anki_macos_python"
},
{
"os": "windows-latest",
@ -60,7 +60,7 @@ jobs:
"PIP_WHEELS_DIR": "~\\AppData\\Local\\pip\\Cache",
"CARGO_INDEX_DIR": "C:\\Rust\\.cargo\\git",
"CARGO_REGISTRY_DIR": "C:\\Rust\\.cargo\\registry",
"ANKI_PYTHON_WHEELS": "anki_windows_python_wheels"
"ANKI_PYTHON_WHEELS": "anki_windows_python"
}
]
}
@ -352,7 +352,7 @@ jobs:
if: matrix.BUILD_TYPE == 'build'
uses: actions/upload-artifact@v1
with:
name: ${{ matrix.ANKI_PYTHON_WHEELS }}
name: ${{ matrix.ANKI_PYTHON_WHEELS }}${{ matrix.python }}
path: dist
- name: Upload to PyPi Windows