diff --git a/.github/workflows/conda_bundle.yaml b/.github/workflows/conda_bundle.yaml deleted file mode 100644 index 8afcfb38b..000000000 --- a/.github/workflows/conda_bundle.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# SPDX-FileCopyrightText: 2023 geisserml -# SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause - -# TODO - -name: Conda bundled -on: - workflow_dispatch: - -jobs: - pass: - runs-on: ubuntu-latest - steps: - - name: Pass (TODO) - run: echo "TODO" diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 89bd90f76..413084ebc 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -232,6 +232,22 @@ jobs: with: workflow: gh_pages.yaml # takes no inputs + conda_trigger: + needs: [build, test, publish] + runs-on: ${{ inputs.runner }} + + steps: + - name: Trigger conda pypdfium2_helpers build + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: conda.yaml + inputs: | + { + "package": "helpers", + "test": "true", + "publish": "${{ inputs.publish }}", + "py_version": "3.11" + } cleanup: needs: [build, test, publish] diff --git a/.github/workflows/trigger_conda_raw.yaml b/.github/workflows/trigger_conda_raw.yaml index 2b8acccab..fb1ccceed 100644 --- a/.github/workflows/trigger_conda_raw.yaml +++ b/.github/workflows/trigger_conda_raw.yaml @@ -1,15 +1,27 @@ # SPDX-FileCopyrightText: 2023 geisserml # SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause -# TODO - name: Trigger conda_raw release on: + schedule: + # 1 day after pdfium-binaries + - cron: '0 4 * * 2' workflow_dispatch: jobs: - pass: + + trigger: runs-on: ubuntu-latest + steps: - - name: Pass (TODO) - run: echo "TODO" + - name: Trigger + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: conda.yaml + inputs: | + { + "package": "raw", + "test": "true", + "publish": "true", + "py_version": "3.11" + } diff --git a/.github/workflows/trigger_main.yaml b/.github/workflows/trigger_main.yaml index f42612716..397eaa1d7 100644 --- a/.github/workflows/trigger_main.yaml +++ b/.github/workflows/trigger_main.yaml @@ -15,11 +15,11 @@ on: jobs: - release: + trigger: runs-on: ubuntu-latest steps: - - name: Trigger Release + - name: Trigger uses: benc-uk/workflow-dispatch@v1 with: workflow: build_packages.yaml