Skip to content

Commit

Permalink
Incorporate CI changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgd committed Jul 30, 2024
2 parents 5dd0f12 + 52e95a3 commit adc73ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Release
on:
# Support manually pushing a new release
workflow_dispatch: {}
# Trigger when a release is published
# Trigger when a release or pre-release is published
release:
types: [released]
types: [published]

defaults:
run:
Expand All @@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: 'pip'
cache: "pip"
cache-dependency-path: setup.py

- name: Install dependencies
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Publish
env:
TWINE_NON_INTERACTIVE: true
TWINE_USERNAME: '__token__'
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
Expand Down

0 comments on commit adc73ff

Please sign in to comment.