Skip to content

Build and Release (Nightly) #57

Build and Release (Nightly)

Build and Release (Nightly) #57

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Build and Release (Nightly)
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
build:
uses: './.github/workflows/build.yml'
with:
target_ref: '${{ github.ref_name }}'
variant: 'nightly'
generate_version: true
do_package: true
gh-publish:
needs: build
uses: './.github/workflows/publish-gh.yml'
secrets: inherit
with:
tag: 'nightly'
name: 'Nightly'
generate-notes: true
# Delete artifacts after use.
cleanup:
if: 'always()'
runs-on: ubuntu-latest
needs: [gh-publish]
steps:
- uses: GeekyEggo/delete-artifact@v5
with:
name: |
*