Add CI workflow for generating nightly builds
This commit is contained in:
@@ -3,8 +3,21 @@
|
||||
name: Publish release
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
ref:
|
||||
description: "The git ref to checkout, build from and release"
|
||||
required: true
|
||||
type: string
|
||||
tag:
|
||||
description: "The tag of the release"
|
||||
required: true
|
||||
type: string
|
||||
prerelease:
|
||||
description: "Prerelease"
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
|
||||
env:
|
||||
CI_DIR: 2049ef39-42a2-46d2-b513-ee6d2e3a7b15
|
||||
@@ -56,7 +69,7 @@ jobs:
|
||||
build:
|
||||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
ref: ${{ github.event.ref }}
|
||||
ref: ${{ inputs.ref }}
|
||||
|
||||
publish-release:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -146,8 +159,9 @@ jobs:
|
||||
- name: Publish release
|
||||
uses: notpeelz/action-gh-create-release@a12edfc71daf5daa7922b931c28e2bf88d3b2ced # v5.0.0
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
tag: latest
|
||||
target: ${{ inputs.ref }}
|
||||
tag: ${{ inputs.tag }}
|
||||
prerelease: ${{ inputs.prerelease }}
|
||||
strategy: replace
|
||||
title: "Automatic build"
|
||||
body: "Automatic build"
|
||||
|
||||
Reference in New Issue
Block a user