dotfiles/.github/actions/attic-cache/action.yml
Fabian Hauser 141d375aa6
Some checks failed
CI / build (push) Failing after 46s
Add github workflow
2025-03-01 20:32:31 +02:00

15 lines
495 B
YAML

name: "Attic Watch and Push"
description: "Composite action pushes results after the job completes. Needs prior attic-cache action to have executed successfully."
inputs:
cache_repository:
description: "Cache repository to use with attic"
required: true
runs:
using: "composite"
steps:
- name: Attic Push Results
shell: "nix shell nixpkgs#attic-client --command {0}"
run: |
attic push "${{ inputs.cache_repository }}" "./result" # TODO: Make this smarter