diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml deleted file mode 100644 index 6714743..0000000 --- a/.github/workflows/conda-build.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: OpenAlea CI - -on: - push: - branches: - - main - - master - tags: - - 'v*' - pull_request: - types: - - opened - - synchronize - - reopened - release: - types: - - published - -jobs: - build: - uses: openalea/action-build-publish-anaconda/.github/workflows/openalea_ci.yml@main - secrets: - anaconda_token: ${{ secrets.ANACONDA_TOKEN }} - diff --git a/.github/workflows/openalea_ci.yml b/.github/workflows/openalea_ci.yml new file mode 100644 index 0000000..3d610de --- /dev/null +++ b/.github/workflows/openalea_ci.yml @@ -0,0 +1,33 @@ +name: OpenAlea CI + +on: + push: + branches: + - main + - master + tags: + - 'v*' + pull_request: + types: + - opened + - synchronize + - reopened + release: + types: + - published + workflow_dispatch: + inputs: + check_before_tag: + description: "Run OpenAlea CI pre-tag build" + required: false + default: "true" + type: boolean + +run-name: > + ${{ github.event_name == 'workflow_dispatch' && 'OpenAlea CI pre-tag build' || 'OpenAlea CI' }} + +jobs: + build: + uses: openalea/action-build-publish-anaconda/.github/workflows/openalea_ci.yml@main + secrets: + anaconda_token: ${{ secrets.ANACONDA_TOKEN }} \ No newline at end of file