Trigger main release #14
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: 2025 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: | |
# NOTE temporarily commented out during the beta phase | |
# The beta field in autorelease/config.json is automatically unset after a beta release, but we probably don't want the real release to be auto-triggered - instead it should be triggered intentionally and be supervised by the maintainer. | |
# # 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.12", | |
"runner": "ubuntu-latest" | |
} |