surrealpatch/.github/workflows/nightly.yml

35 lines
741 B
YAML
Raw Normal View History

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' }})"
2022-09-22 13:56:27 +00:00
on:
workflow_dispatch:
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 * * *'
defaults:
run:
shell: bash
2023-12-11 13:58:43 +00:00
permissions:
contents: write
2022-09-22 13:56:27 +00:00
jobs:
release:
name: Prepare nightly release
uses: ./.github/workflows/reusable_publish_version.yml
with:
2023-12-11 13:58:43 +00:00
environment: nightly
extra-features: storage-surrealkv,ml
git-ref: main
publish: ${{ inputs.publish || github.event_name == 'schedule' }}
secrets: inherit