mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-28 15:18:26 +01:00
24 lines
648 B
YAML
24 lines
648 B
YAML
|
# Make the flake discoverable on https://flakestry.dev
|
||
|
name: "Publish a flake to flakestry"
|
||
|
on:
|
||
|
push:
|
||
|
tags:
|
||
|
- "v?[0-9]+.[0-9]+.[0-9]+"
|
||
|
- "v?[0-9]+.[0-9]+"
|
||
|
workflow_dispatch:
|
||
|
inputs:
|
||
|
tag:
|
||
|
description: "The existing tag to publish"
|
||
|
type: "string"
|
||
|
required: true
|
||
|
jobs:
|
||
|
publish-flake:
|
||
|
runs-on: ubuntu-latest
|
||
|
permissions:
|
||
|
id-token: "write"
|
||
|
contents: "read"
|
||
|
steps:
|
||
|
- uses: flakestry/flakestry-publish@main
|
||
|
with:
|
||
|
version: "${{ inputs.tag || github.ref_name }}"
|