2023-12-11 13:58:43 +00:00
|
|
|
# This workflow triggers nightly releases
|
|
|
|
|
2022-09-22 13:56:27 +00:00
|
|
|
name: Nightly release
|
|
|
|
|
2024-05-30 17:11:45 +00:00
|
|
|
run-name: "Nightly release (publish: ${{ inputs.publish || github.event_name == 'schedule' }})"
|
2023-12-05 11:52:09 +00:00
|
|
|
|
2022-09-22 13:56:27 +00:00
|
|
|
on:
|
2023-03-31 18:58:42 +00:00
|
|
|
workflow_dispatch:
|
2023-12-05 11:52:09 +00:00
|
|
|
inputs:
|
|
|
|
publish:
|
|
|
|
required: false
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
description: "Publish the nightly release"
|
2022-09-22 13:56:27 +00:00
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
|
|
|
|
2023-03-30 20:14:06 +00:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: bash
|
|
|
|
|
2023-12-11 13:58:43 +00:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
2022-09-22 13:56:27 +00:00
|
|
|
jobs:
|
2023-12-05 11:52:09 +00:00
|
|
|
release:
|
|
|
|
name: Prepare nightly release
|
|
|
|
uses: ./.github/workflows/reusable_publish_version.yml
|
|
|
|
with:
|
2023-12-11 13:58:43 +00:00
|
|
|
environment: nightly
|
2024-07-31 15:24:02 +00:00
|
|
|
extra-features: storage-surrealkv,ml
|
2024-06-12 16:38:41 +00:00
|
|
|
git-ref: main
|
2023-12-05 11:52:09 +00:00
|
|
|
publish: ${{ inputs.publish || github.event_name == 'schedule' }}
|
|
|
|
secrets: inherit
|