Skip to content

Commit

Permalink
ci: drop from-sdist build
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Jul 11, 2022
1 parent b8bd7a9 commit 38c2256
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:

cibuildwheel:
name: "Wheels: ${{matrix.sys.name}}"
needs: [sdist]
runs-on: ${{matrix.sys.os}}
strategy:
matrix:
Expand All @@ -33,39 +32,21 @@ jobs:
- {os: "windows-latest", name: "Windows", arches: "auto"}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with: {python-version: "3.9"}
- name: "SetEnv"
shell: bash
run: |
PACKAGE=$(python setup.py --name)
VERSION=$(python setup.py --version)
TGZ="${PACKAGE}-${VERSION}.tar.gz"
echo "PACKAGE=${PACKAGE}" >> $GITHUB_ENV
echo "VERSION=${VERSION}" >> $GITHUB_ENV
echo "TGZ=${TGZ}" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
with: {name: "dist", path: "sdist"}
- uses: pypa/[email protected]
with:
package-dir: sdist/${{env.TGZ}}
output-dir: wheelhouse
env:
CIBW_ARCHS: ${{matrix.sys.arches}}
- name: "Check"
shell: bash
run: |
ls -l
ls -l sdist
ls -l ..
ls -l wheelhouse
- uses: actions/upload-artifact@v3
with: {name: "dist", path: "wheelhouse"}

publish:
name: "Publish"
runs-on: ubuntu-latest
needs: [cibuildwheel]
needs: [sdist, cibuildwheel]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
Expand Down

0 comments on commit 38c2256

Please sign in to comment.