Skip to content

Commit

Permalink
fix CI job dependency (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 authored Aug 17, 2022
1 parent f4690eb commit c1f9565
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ on:
tags:
- 'v*'
branches:
- master
- main

pull_request:
branches:
- master
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-artifacts:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -55,8 +56,10 @@ jobs:
name: releases
path: dist



upload-to-pypi:
needs: test-built-dist
needs: build-artifacts
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c1f9565

Please sign in to comment.