Skip to content

Commit e471886

Browse files
committed
install wheel instead of tarball
1 parent f9e489e commit e471886

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,16 @@ jobs:
3636
- name: Build Package
3737
run: python3 -m build
3838

39-
- name: Install NetFoundry from build tarball
39+
- name: Upload Wheel Artifact
40+
uses: actions/upload-artifact@v3
41+
with:
42+
name: netfoundry-wheel-${{ github.run_id }}
43+
path: dist/netfoundry-*.whl
44+
if-no-files-found: error
45+
46+
- name: Install Wheel
4047
run: |
41-
pip3 install ./dist/netfoundry-*.tar.gz
48+
pip3 install ./dist/netfoundry-*.whl
4249
4350
- name: Read version string
4451
id: read_version
@@ -97,13 +104,6 @@ jobs:
97104
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
98105
repository_url: https://test.pypi.org/legacy/
99106

100-
- name: Temporarily Store the Python Package in GitHub # for convenient reference, troubleshooting, investigation, etc...
101-
uses: actions/upload-artifact@v3
102-
with:
103-
name: netfoundry-pypi-${{ github.run_id }}
104-
path: dist/netfoundry-*.tar.gz
105-
if-no-files-found: error
106-
107107
- name: Append 'latest' tag if release
108108
env:
109109
GITHUB_EVENT_ACTION: ${{ github.event.action }}

0 commit comments

Comments
 (0)