mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-24 16:14:54 +01:00
36 lines
875 B
YAML
36 lines
875 B
YAML
# THIS FILE IS AUTOGENERATED FROM FLAKEBOX CONFIGURATION
|
|
|
|
jobs:
|
|
flakehub-publish:
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ (inputs.tag != null) && format('refs/tags/{0}', inputs.tag) || ''
|
|
}}
|
|
- name: Install Nix
|
|
uses: DeterminateSystems/nix-installer-action@v4
|
|
- name: Flakehub Push
|
|
uses: DeterminateSystems/flakehub-push@main
|
|
with:
|
|
name: ${{ github.repository }}
|
|
tag: ${{ inputs.tag }}
|
|
visibility: public
|
|
name: Publish to Flakehub
|
|
'on':
|
|
push:
|
|
tags:
|
|
- v?[0-9]+.[0-9]+.[0-9]+*
|
|
workflow_dispatch:
|
|
inputs:
|
|
tags:
|
|
description: The existing tag to publish to FlakeHub
|
|
required: true
|
|
type: string
|
|
|
|
|
|
# THIS FILE IS AUTOGENERATED FROM FLAKEBOX CONFIGURATION
|