Skip to content

Commit 74b1779

Browse files
committed
upd
1 parent db9e29b commit 74b1779

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed
Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
on:
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

Comments
 (0)