File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 if : ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'loiccoyle' }}
4949 needs :
5050 - tests
51+ outputs :
52+ release_created : ${{ steps.release.release_created }}
5153 runs-on : ubuntu-latest
5254 steps :
5355 - uses : googleapis/release-please-action@v4
5860
5961 publish :
6062 name : Publish to pypi
61- needs : tests
62- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
63+ needs :
64+ - release
65+ if : needs.release.outputs.release_created
6366 runs-on : ubuntu-latest
6467 steps :
6568 - uses : actions/checkout@v4
8083
8184 trigger_image_build :
8285 name : Trigger tinyticker disk image build
83- needs : publish
84- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
86+ needs :
87+ - publish
88+ if : needs.release.outputs.release_created
8589 runs-on : ubuntu-latest
8690 steps :
8791 - name : Workflow dispatch
You can’t perform that action at this time.
0 commit comments