diff --git a/.github/workflows/conda-package-build.yml b/.github/workflows/conda-package-build.yml deleted file mode 100644 index 0993dc1e..00000000 --- a/.github/workflows/conda-package-build.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Building Package - -on: - push: - branches: - - '**' - tags: - - 'v*' - pull_request: - branches: - - '**' - - -jobs: - build: - uses: openalea/github-action-conda-build/.github/workflows/conda-package-build.yml@main - with: - python-minor-version: '[8,9,10,11]' - build-options: '' - 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 00000000..3d610deb --- /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