forked from NaxdyOrg/NaxGCC-FW
push derivations explicitly at the end
This commit is contained in:
parent
c8d9c1063e
commit
c6de29912b
1 changed files with 6 additions and 2 deletions
|
@ -4,6 +4,8 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
|
|
||||||
|
# fleeb
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: main
|
group: main
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
@ -31,9 +33,11 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build firmware image
|
- name: Build firmware image
|
||||||
run: |
|
run: |
|
||||||
attic watch-store "${{ vars.BINARY_CACHE_NAME }}" &
|
|
||||||
nix build .# -o dist --print-build-logs
|
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
|
- name: Publish nightly release
|
||||||
uses: https://gitea.com/actions/gitea-release-action@v1.3.0
|
uses: https://gitea.com/actions/gitea-release-action@v1.3.0
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue