Skip to content

Commit

Permalink
Merge pull request #18 from kc611/upload-dependency
Browse files Browse the repository at this point in the history
Made the anaconda upload workflow depend of the test workflow
  • Loading branch information
esc authored May 29, 2024
2 parents 70aa1ec + 787fc9a commit e5f7f0d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/anaconda_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ on:
- main
tags:
- '*'
workflow_run:
workflows: ["Test"]
types:
- completed

jobs:
anaconda_org_build_and_upload:
name: anaconda.org upload py${{ matrix.python-version }}
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit e5f7f0d

Please sign in to comment.