Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
dcfe09e0a8 | |||
2358acda6c | |||
5cec9ded21 |
1 changed files with 10 additions and 5 deletions
15
.github/workflows/build-and-cache.yml
vendored
15
.github/workflows/build-and-cache.yml
vendored
|
@ -10,17 +10,14 @@ jobs:
|
|||
- .#attic-client
|
||||
- .#attic-server
|
||||
- .#conduwuit
|
||||
- "github:cything/nixpkgs/9a35d495d2f49eee003b57265228844bb48c933e#nixosTests.garage.with-3node-replication1_x"
|
||||
- "github:cything/nixpkgs/97f27249297bf5fbc563014ae9d4884dee27f1e0#nixosTests.garage.with-3node-replication1_x"
|
||||
- ".#nixosConfigurations.livecd.config.system.build.isoImage"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
with:
|
||||
logger: pretty
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- uses: cachix/cachix-action@v15
|
||||
with:
|
||||
name: cything
|
||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||
- name: Setup Attic cache
|
||||
uses: ryanccn/attic-action@v0
|
||||
with:
|
||||
|
@ -29,3 +26,11 @@ jobs:
|
|||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- uses: actions/checkout@v4
|
||||
- run: nix build '${{ matrix.package }}'
|
||||
- name: Compress Build Craft
|
||||
run: |
|
||||
tar cvf "./$(date -I).tar" ./result/*
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: ./*.tar
|
||||
overwrite: true
|
||||
retention-days: 7days
|
||||
|
|
Loading…
Add table
Reference in a new issue