File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ on :
3+ push :
4+ branches :
5+ - main
6+ env :
7+ PACKAGE_NAME : plugin_loopstructural
8+ permissions :
9+ contents : write
10+ pull-requests : write
11+
12+ name : release-please
13+ jobs :
14+ release-please :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : GoogleCloudPlatform/release-please-action@v4
18+ id : release
19+ with :
20+ path : LoopStructural
21+
22+ outputs :
23+ release_created : ${{ steps.release.outputs.release_created }}
24+ package :
25+ needs : release-please
26+ if : ${{ needs.release-please.outputs.release_created }}
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : Trigger build for pypi and upload
30+ run : |
31+ curl -X POST \
32+ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
33+ -H "Accept: application/vnd.github.v3+json" \
34+ https://api.github.com/repos/Loop3d/${{env.PACKAGE_NAME}}/actions/workflows/release.yml/dispatches \
35+ -d '{"ref":"master"}'
36+
You can’t perform that action at this time.
0 commit comments