Skip to content

Merge branch 'master' of https://github.com/Loop3D/loopprojectfile #29

Merge branch 'master' of https://github.com/Loop3D/loopprojectfile

Merge branch 'master' of https://github.com/Loop3D/loopprojectfile #29

Workflow file for this run

on:
push:
branches:
- master
workflow_dispatch:

Check failure on line 5 in .github/workflows/publish_conda.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish_conda.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v4
id: release
with:
release-type: python
package-name: LoopProjectFile
- name: Debug release_created output
run: |
echo "Release created: ${{ steps.release.outputs.release_created }}"
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/loopprojectfile/actions/workflows/pypi.yml/dispatches \
-d '{"ref":"master"}'
- 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/loopprojectfile/actions/workflows/conda.yml/dispatches \
-d '{"ref":"master"}'