11on :
2- push :
3- branches :
4- - master
5- workflow_dispatch :
6- jobs :
7- release-please :
8- runs-on : ubuntu-latest
9- steps :
10- - uses : GoogleCloudPlatform/release-please-action@v4
11- id : release
12- with :
13- release-type : python
14- package-name : LoopProjectFile
15- - name : Debug release_created output
16- run : |
17- echo "Release created: ${{ steps.release.outputs.release_created }}"
18- outputs :
19- release_created : ${{ steps.release.outputs.release_created }}
20-
21- pypi :
22- runs-on : ubuntu-latest
23- needs : release-please
24- if : ${{ needs.release-please.outputs.release_created }}
25- steps :
26- - name : Trigger build for pypi and upload
27- run : |
28- curl -X POST \
29- -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
30- -H "Accept: application/vnd.github.v3+json" \
31- https://api.github.com/repos/Loop3d/loopprojectfile/actions/workflows/pypi.yml/dispatches \
32- -d '{"ref":"master"}'
33- - name : Trigger build for conda and upload
34- run : |
35- curl -X POST \
36- -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
37- -H "Accept: application/vnd.github.v3+json" \
38- https://api.github.com/repos/Loop3d/loopprojectfile/actions/workflows/conda.yml/dispatches \
39- -d '{"ref":"master"}'
2+ push :
3+ branches :
4+ - master
5+ workflow_dispatch :
6+ jobs :
7+ release-please :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : GoogleCloudPlatform/release-please-action@v4
11+ id : release
12+ with :
13+ release-type : python
14+ package-name : LoopProjectFile
15+ - name : Debug release_created output
16+ run : |
17+ echo "Release created: ${{ steps.release.outputs.release_created }}"
18+ outputs :
19+ release_created : ${{ steps.release.outputs.release_created }}
20+
21+ pypi :
22+ runs-on : ubuntu-latest
23+ needs : release-please
24+ if : ${{ needs.release-please.outputs.release_created }}
25+ steps :
26+ - name : Trigger build for pypi and upload
27+ run : |
28+ curl -X POST \
29+ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
30+ -H "Accept: application/vnd.github.v3+json" \
31+ https://api.github.com/repos/Loop3d/loopprojectfile/actions/workflows/pypi.yml/dispatches \
32+ -d '{"ref":"master"}'
33+ - name : Trigger build for conda and upload
34+ run : |
35+ curl -X POST \
36+ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
37+ -H "Accept: application/vnd.github.v3+json" \
38+ https://api.github.com/repos/Loop3d/loopprojectfile/actions/workflows/conda.yml/dispatches \
39+ -d '{"ref":"master"}'
0 commit comments