diff --git a/.github/workflows/publish_conda.yml b/.github/workflows/publish_conda.yml index 73391b0..475fc4a 100755 --- a/.github/workflows/publish_conda.yml +++ b/.github/workflows/publish_conda.yml @@ -14,7 +14,7 @@ jobs: package-name: map2model outputs: release_created: ${{ steps.release.outputs.release_created }} - on-relase: + pypi: runs-on: ubuntu-latest needs: release-please if: needs.release-please.outputs.release_created == 'true' @@ -25,10 +25,15 @@ jobs: -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/Loop3d/map2model_cpp/actions/workflows/pypi.yml/dispatches \ -d '{"ref":"main"}' + conda: + runs-on: ubuntu-latest + needs: release-please + if: needs.release-please.outputs.release_created == 'true' 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"}' \ No newline at end of file + -d '{"ref":"main"}' +