Skip to content

Commit

Permalink
try cache again
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsnolde committed Jan 3, 2022
1 parent 3b1b211 commit a5ce559
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ on:
- '*.md'

jobs:
build_sdist:
name: Build SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build SDist
run: pipx run build --sdist

- name: Check metadata
run: pipx run twine check dist/*

- uses: actions/upload-artifact@v2
with:
path: dist/*.tar.gz
# build_sdist:
# name: Build SDist
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
#
# - name: Build SDist
# run: pipx run build --sdist
#
# - name: Check metadata
# run: pipx run twine check dist/*
#
# - uses: actions/upload-artifact@v2
# with:
# path: dist/*.tar.gz

build_wheels:
name: Wheels on ${{ matrix.os }}
Expand Down Expand Up @@ -98,21 +98,21 @@ jobs:
# with:
# path: wheelhouse/*.whl

upload_all:
name: Upload if release
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@v2

- uses: actions/download-artifact@v2
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.4.2
with:
user: jonathf
password: ${{ secrets.pypi_password }}
# upload_all:
# name: Upload if release
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
# needs: [build_wheels, build_sdist]
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/setup-python@v2
#
# - uses: actions/download-artifact@v2
# with:
# name: artifact
# path: dist
#
# - uses: pypa/gh-action-pypi-publish@v1.4.2
# with:
# user: jonathf
# password: ${{ secrets.pypi_password }}

0 comments on commit a5ce559

Please sign in to comment.