@@ -56,11 +56,11 @@ jobs:
56
56
run : |
57
57
python -m pip install build
58
58
python -m build
59
- - name : Upload wheel as artifact
59
+ - name : Upload sdist and wheel artifacts
60
60
uses : actions/upload-artifact@v3
61
61
with :
62
- name : my-wheel
63
- path : dist/*.whl
62
+ name : my-dist
63
+ path : dist/*
64
64
65
65
test :
66
66
needs : build-wheel
@@ -91,14 +91,14 @@ jobs:
91
91
python -m pip install --upgrade pip setuptools wheel
92
92
python -m pip install -r dev-requirements.txt
93
93
python -m pip install "sphinx${{ matrix.sphinx-version }}"
94
- - name : Download wheel artifact
94
+ - name : Download sdist and wheel artifacts
95
95
uses : actions/download-artifact@v3
96
96
with :
97
- name : my-wheel
97
+ name : my-dist
98
98
path : dist
99
99
- name : Install downloaded wheel
100
100
run : |
101
- python -m pip install --no-index --find-links=dist sphinxext-opengraph
101
+ python -m pip install --only-binary=:all: -- no-index --find-links=dist sphinxext-opengraph
102
102
- name : Run tests for ${{ matrix.python-version }}
103
103
run : |
104
104
python -m pytest -vv
@@ -128,10 +128,10 @@ jobs:
128
128
runs-on : ubuntu-latest
129
129
if : contains(github.ref, 'refs/tags/') && github.repository_owner == 'wpilibsuite'
130
130
steps :
131
- - name : Download wheel artifact
131
+ - name : Download sdist and wheel artifacts
132
132
uses : actions/download-artifact@v3
133
133
with :
134
- name : my-wheel
134
+ name : my-dist
135
135
path : dist
136
136
- name : Publish a Python distribution to PyPI
137
137
uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments