Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Release to PyPI
on:
release:
types: [published]
# Dry-run build on PRs to catch build issues before release
pull_request:
paths:
- ".github/workflows/release.yml"

jobs:
build:
Expand Down Expand Up @@ -37,6 +41,7 @@ jobs:

publish:
needs: build
if: github.event_name == 'release'
runs-on: ubuntu-latest
environment: pypi
permissions:
Expand All @@ -53,6 +58,7 @@ jobs:

update-homebrew:
needs: publish
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- name: Trigger Homebrew formula update
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ dmypy.json
# direnv
.direnv/

# Nix build output
result

# Jupyter Notebook
.ipynb_checkpoints

Expand Down
1 change: 0 additions & 1 deletion result

This file was deleted.