Skip to content

Commit

Permalink
Upload artifacts just after they are built.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Apr 13, 2021
1 parent 1ae49fa commit f629b4f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,18 @@ jobs:
run: |
ls dist/
- uses: actions/upload-artifact@v2
with:
path: |
./dist/*.whl
./dist/*.tar.gz
- name: Install Dependencies
run: |
pip install pyqt5
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0
- name: Install package
env:
MPLBACKEND: agg
Expand All @@ -84,12 +91,6 @@ jobs:
with:
run: pytest --pyargs hyperspy_gui_traitsui

- uses: actions/upload-artifact@v2
with:
path: |
./dist/*.whl
./dist/*.tar.gz
- name: Publish wheels to PyPI
if: github.repository_owner == 'hyperspy'
env:
Expand Down

0 comments on commit f629b4f

Please sign in to comment.