Skip to content

Commit

Permalink
Add triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Oct 31, 2023
1 parent 2da14db commit 03e71f2
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 22 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/conda_bundle.yaml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
22 changes: 17 additions & 5 deletions .github/workflows/trigger_conda_raw.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
# SPDX-FileCopyrightText: 2023 geisserml <[email protected]>
# 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"
}
4 changes: 2 additions & 2 deletions .github/workflows/trigger_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03e71f2

Please sign in to comment.