Spaces:
Runtime error
Runtime error
Download llama-cpp-python/vendor/llama.cpp/.github/workflows/nix-publish-flake.yml from aelitta/BioMistral_gradio: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/vendor/llama.cpp/.github/workflows/nix-publish-flake.yml
- Command line
-
hf download hf://spaces/aelitta/BioMistral_gradio/llama-cpp-python/vendor/llama.cpp/.github/workflows/nix-publish-flake.yml
-
curl -L -o nix-publish-flake.yml https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/vendor/llama.cpp/.github/workflows/nix-publish-flake.yml
1.13 kB
| # Make the flake discoverable on https://flakestry.dev and https://flakehub.com/flakes | |
| name: "Publish a flake to flakestry & flakehub" | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| workflow_dispatch: | |
| inputs: | |
| tag: | |
| description: "The existing tag to publish" | |
| type: "string" | |
| required: true | |
| jobs: | |
| flakestry-publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: "write" | |
| contents: "read" | |
| steps: | |
| - uses: flakestry/flakestry-publish@main | |
| with: | |
| version: "${{ inputs.tag || github.ref_name }}" | |
| flakehub-publish: | |
| runs-on: "ubuntu-latest" | |
| permissions: | |
| id-token: "write" | |
| contents: "read" | |
| steps: | |
| - uses: "actions/checkout@v4" | |
| with: | |
| ref: "${{ (inputs.tag != null) && format('refs/tags/{0}', inputs.tag) || '' }}" | |
| - uses: "DeterminateSystems/nix-installer-action@main" | |
| - uses: "DeterminateSystems/flakehub-push@main" | |
| with: | |
| visibility: "public" | |
| tag: "${{ inputs.tag }}" | |