Skip to content

Commit

Permalink
ci: fix pypi release
Browse files Browse the repository at this point in the history
Revert "ci: fix pypi release"

This reverts commit 8b3eb9c.
  • Loading branch information
loiccoyle committed Jul 3, 2024
1 parent 4d487e1 commit e5c261f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'loiccoyle' }}
needs:
- tests
outputs:
release_created: ${{ steps.release.release_created }}
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
Expand All @@ -58,8 +60,9 @@ jobs:

publish:
name: Publish to pypi
needs: tests
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
needs:
- release
if: needs.release.outputs.release_created
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -80,8 +83,9 @@ jobs:

trigger_image_build:
name: Trigger tinyticker disk image build
needs: publish
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
needs:
- publish
if: needs.release.outputs.release_created
runs-on: ubuntu-latest
steps:
- name: Workflow dispatch
Expand Down

0 comments on commit e5c261f

Please sign in to comment.