Trigger main release #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2023 geisserml <[email protected]> | |
# SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause | |
# Separate trigger workflow because we can't configure inputs for scheduled workflow runs (and don't want publish enabled by default in the main workflow) | |
name: Trigger main release | |
on: | |
# https://github.com/bblanchon/pdfium-binaries/blob/master/.github/workflows/trigger.yml | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule | |
# https://crontab.guru/ | |
schedule: | |
- cron: '0 4 10 * *' # monthly, 10th day | |
workflow_dispatch: | |
jobs: | |
trigger: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
workflow: main.yaml | |
inputs: | | |
{ | |
"pre_test": "false", | |
"test": "true", | |
"publish": "true", | |
"conda": "true", | |
"py_version": "3.10", | |
"runner": "ubuntu-latest" | |
} |