mirror of
https://github.com/DeterminateSystems/ci.git
synced 2025-05-18 00:29:23 +02:00
Support specifying the name and rolling-minor
This commit is contained in:
parent
f120d882b5
commit
d4a90dfe48
1 changed files with 10 additions and 0 deletions
10
.github/workflows/workflow.yml
vendored
10
.github/workflows/workflow.yml
vendored
|
@ -4,6 +4,14 @@ on:
|
|||
visibility:
|
||||
required: false
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
description: The name of your published flake. In the format of OrgName/RepoName. OrgName must match your organization's GitHub root name or the publish will fail.
|
||||
required: false
|
||||
rolling-minor:
|
||||
type: number
|
||||
description: "Specify the SemVer minor version of your rolling releases. All releases will follow the versioning scheme '0.[rolling-minor].[commit count]+rev-[git sha]'"
|
||||
required: false
|
||||
default-branch:
|
||||
required: false
|
||||
default: ${{ github.event.repository.default_branch }}
|
||||
|
@ -114,6 +122,8 @@ jobs:
|
|||
- uses: "DeterminateSystems/flakehub-push@main"
|
||||
if: ${{ !github.repository.fork && inputs.visibility != '' && (github.ref == format('refs/heads/{0}', inputs.default-branch) || startsWith(github.ref, 'refs/tags/')) }}
|
||||
with:
|
||||
name: ${{ inputs.name }}
|
||||
rolling-minor: ${{ inputs.rolling-minor }}
|
||||
rolling: ${{ github.ref == format('refs/heads/{0}', inputs.default-branch) }}
|
||||
visibility: ${{ inputs.visibility }}
|
||||
include-output-paths: true
|
||||
|
|
Loading…
Add table
Reference in a new issue