Skip to content

Commit

Permalink
CI: The sdists should only be uploaded once to the artifact (#125)
Browse files Browse the repository at this point in the history
* Only upload sdist once

* Only upload sdist once, 2nd

* Only upload sdist once, 3rd

* Only upload sdist once, 4th

* Correct github actions syntax

* Only upload sdist once, 5th

* Only upload sdist once, 6th
  • Loading branch information
LSchueler authored Jan 5, 2021
1 parent a98e5ae commit e28b00c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ env:

jobs:
build_wheels:
name: wheels on ${{matrix.os}}
runs-on: ${{matrix.os}}
name: wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -53,8 +53,8 @@ jobs:
path: ./dist/*.whl

build_sdist:
name: sdist on ${{matrix.os}} with py ${{ matrix.python-version }}
runs-on: ${{matrix.os}}
name: sdist on ${{ matrix.os }} with py ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -90,6 +90,7 @@ jobs:
python -m coveralls
- uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
with:
path: dist/*.tar.gz

Expand Down

0 comments on commit e28b00c

Please sign in to comment.