Merge pull request #602 from evandroforks/fixed_github_actions_tagged_wheels

Fixed GitHub Actions tagged wheels
This commit is contained in:
Damien Elmes 2020-05-02 09:03:54 +10:00 committed by GitHub
commit e980ba3686
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,7 @@ jobs:
id: check_tagged id: check_tagged
run: | run: |
set -x set -x
printf '%s' ' printf '%s' '#!/usr/bin/env python3
#!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import json import json
@ -43,7 +42,7 @@ jobs:
"PIP_WHEELS_DIR": "~/.cache/pip", "PIP_WHEELS_DIR": "~/.cache/pip",
"CARGO_INDEX_DIR": "~/.cargo/git", "CARGO_INDEX_DIR": "~/.cargo/git",
"CARGO_REGISTRY_DIR": "~/.cargo/registry", "CARGO_REGISTRY_DIR": "~/.cargo/registry",
"ANKI_PYTHON_WHEELS": "anki_linux_python_wheels" "ANKI_PYTHON_WHEELS": "anki_linux_python"
}, },
{ {
"os": "macos-latest", "os": "macos-latest",
@ -52,7 +51,7 @@ jobs:
"PIP_WHEELS_DIR": "~/Library/Caches/pip", "PIP_WHEELS_DIR": "~/Library/Caches/pip",
"CARGO_INDEX_DIR": "~/.cargo/git", "CARGO_INDEX_DIR": "~/.cargo/git",
"CARGO_REGISTRY_DIR": "~/.cargo/registry", "CARGO_REGISTRY_DIR": "~/.cargo/registry",
"ANKI_PYTHON_WHEELS": "anki_macos_python_wheels" "ANKI_PYTHON_WHEELS": "anki_macos_python"
}, },
{ {
"os": "windows-latest", "os": "windows-latest",
@ -61,7 +60,7 @@ jobs:
"PIP_WHEELS_DIR": "~\\AppData\\Local\\pip\\Cache", "PIP_WHEELS_DIR": "~\\AppData\\Local\\pip\\Cache",
"CARGO_INDEX_DIR": "C:\\Rust\\.cargo\\git", "CARGO_INDEX_DIR": "C:\\Rust\\.cargo\\git",
"CARGO_REGISTRY_DIR": "C:\\Rust\\.cargo\\registry", "CARGO_REGISTRY_DIR": "C:\\Rust\\.cargo\\registry",
"ANKI_PYTHON_WHEELS": "anki_windows_python_wheels" "ANKI_PYTHON_WHEELS": "anki_windows_python"
} }
] ]
} }
@ -353,7 +352,7 @@ jobs:
if: matrix.BUILD_TYPE == 'build' if: matrix.BUILD_TYPE == 'build'
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: ${{ matrix.ANKI_PYTHON_WHEELS }} name: ${{ matrix.ANKI_PYTHON_WHEELS }}${{ matrix.python }}
path: dist path: dist
- name: Upload to PyPi Windows - name: Upload to PyPi Windows