Skip to content

Commit

Permalink
Allow nightly from workflow_dispatch
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
pllim authored Sep 6, 2024
1 parent 1cdf73c commit 8672579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: python -m twine check --strict wheelhouse/*
# Upload artifacts because gh-action-pypi-publish Docker is only on Linux
- name: Upload wheels
if: (github.event_name == 'release' || github.event_name == 'schedule')
if: (github.event_name == 'release' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
uses: actions/upload-artifact@v4
with:
name: additional-pylons-${{ matrix.os }}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
anaconda:
name: Publish nightly wheel to Anaconda
needs: [build_wheels]
if: github.repository == 'spacetelescope/synphot_refactor' && github.event_name == 'schedule'
if: github.repository == 'spacetelescope/synphot_refactor' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
runs-on: ubuntu-latest
steps:
- uses: OpenAstronomy/publish-wheels-anaconda@612ea808f79152bd52a019316f684a12bbe8ba33 # main 2024-09-06
Expand Down

0 comments on commit 8672579

Please sign in to comment.