mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
abb19e0870
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
name: ci-bonsai-choco
|
|
|
|
on:
|
|
schedule:
|
|
# ┌───────────── minute (0 - 59)
|
|
# │ ┌───────────── hour (0 - 23)
|
|
# │ │ ┌───────────── day of the month (1 - 31)
|
|
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
|
|
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
|
|
# * * * * *
|
|
- cron: "30 0 * * *" # 30min past utc midnight
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
major: 0
|
|
minor: 0
|
|
name: bonsai
|
|
choco_version: 1.1.0
|
|
CHOCO_TOKEN: ${{ secrets.CHOCO_TOKEN }}
|
|
|
|
jobs:
|
|
activate:
|
|
runs-on: ubuntu-latest
|
|
if: |
|
|
github.repository == 'IfcOpenShell/IfcOpenShell'
|
|
steps:
|
|
- name: Set env
|
|
run: echo ok go
|
|
|
|
build:
|
|
needs: activate
|
|
name: "choco_release"
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-tags: true
|
|
fetch-depth: 0
|
|
- run: echo ${{ env.DATE }}
|
|
- name: Check in release tags if we should do a choco release and perform the release if needed
|
|
id: do_choco_release
|
|
run: |
|
|
pip install pygithub
|
|
cd /home/runner/work/IfcOpenShell/IfcOpenShell/choco/bonsai/ &&
|
|
python3 choco_release.py
|