Skip to content

Commit

Permalink
Add debug step to Python workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pemistahl committed Aug 27, 2023
1 parent 67d1d41 commit 4d79314
Showing 1 changed file with 15 additions and 23 deletions.
38 changes: 15 additions & 23 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ name: Python Release

on:
push:
tags:
- v1.*
branches:
- debug-github-workflow

jobs:
linux:
Expand Down Expand Up @@ -119,10 +119,23 @@ jobs:
name: wheels
path: dist

storage:
name: Storage info

runs-on: ubuntu-latest
needs: [linux, windows, macos]

steps:
- name: df -h
run: df -h

- name: du -h
run: du -h
sdist:
name: Source distribution

runs-on: ubuntu-latest
needs: [storage]

steps:
- name: Check out repository
Expand All @@ -139,24 +152,3 @@ jobs:
with:
name: wheels
path: dist

release:
name: Publish wheels to PyPI

runs-on: ubuntu-latest

needs: [linux, windows, macos, sdist]

steps:
- name: Download wheels from previous jobs
uses: actions/download-artifact@v3
with:
name: wheels

- name: Upload to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --skip-existing *

0 comments on commit 4d79314

Please sign in to comment.