push derivations explicitly at the end

This commit is contained in:
Naxdy 2024-03-25 16:51:52 +01:00
parent c8d9c1063e
commit c6de29912b
Signed by: Naxdy
GPG key ID: CC15075846BCE91B

View file

@ -4,6 +4,8 @@ on:
push:
branches: ["main"]
# fleeb
concurrency:
group: main
cancel-in-progress: true
@ -31,9 +33,11 @@ jobs:
- uses: actions/checkout@v4
- name: Build firmware image
run: |
attic watch-store "${{ vars.BINARY_CACHE_NAME }}" &
nix build .# -o dist --print-build-logs
attic push "${{ vars.BINARY_CACHE_NAME }}" dist
- name: Push derivations to binary cache
run: |
cd /nix/store
attic push "${{ vars.BINARY_CACHE_NAME }}" $(ls /nix/store --ignore='*.drv' --ignore='*fake_nixpkgs*')
- name: Publish nightly release
uses: https://gitea.com/actions/gitea-release-action@v1.3.0
with: