Skip to content

Merge pull request #5 from Loop3D/release-v0.1.4 #48

Merge pull request #5 from Loop3D/release-v0.1.4

Merge pull request #5 from Loop3D/release-v0.1.4 #48

Workflow file for this run

on:
push:
branches:
- master
workflow_dispatch:
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
with:
release-type: python
package-name: map2model
outputs:
release_created: ${{ steps.release.outputs.release_created }}
pypi:
runs-on: ubuntu-latest
needs: release-please
if: ${{needs.release-please.outputs.release_created}}
steps:
- name: Trigger build for pypi and upload
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/Loop3d/map2model_cpp/actions/workflows/pypi.yml/dispatches \
-d '{"ref":"main"}'
- name: Trigger build for conda and upload
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/Loop3d/map2model_cpp/actions/workflows/conda.yml/dispatches \
-d '{"ref":"main"}'