mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 12:37:45 +00:00
feat: push to cachix
This commit is contained in:
parent
ed40bba5e6
commit
4647ec5c59
1 changed files with 11 additions and 9 deletions
20
.github/workflows/release.yaml
vendored
20
.github/workflows/release.yaml
vendored
|
@ -22,13 +22,15 @@ jobs:
|
|||
uses: docker://nixos/nix
|
||||
with:
|
||||
args: >
|
||||
nix
|
||||
--extra-experimental-features flakes
|
||||
--extra-experimental-features nix-command
|
||||
--extra-substituters http://172.17.0.1:5000?trusted=1
|
||||
build
|
||||
--print-build-logs
|
||||
bash -ec "
|
||||
nix
|
||||
--extra-experimental-features flakes
|
||||
--extra-experimental-features nix-command
|
||||
--extra-substituters http://172.17.0.1:5000?trusted=1
|
||||
build
|
||||
--print-build-logs
|
||||
|
||||
- name: Push
|
||||
run: |
|
||||
cachix push result
|
||||
nix-env -iA cachix -f https://cachix.org/api/v1/install
|
||||
|
||||
cachix push --compression-level 9 alejandra result
|
||||
"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue