dogfood nixcp
This commit is contained in:
parent
892f42ed2a
commit
dbfd590562
2 changed files with 17 additions and 11 deletions
16
.github/workflows/build-machines-and-homes.yml
vendored
16
.github/workflows/build-machines-and-homes.yml
vendored
|
@ -73,10 +73,12 @@ jobs:
|
|||
if: '!cancelled()'
|
||||
run: |
|
||||
package=".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel"
|
||||
nix run git+https://git.cy7.sh/cy/nixcp.git -- \
|
||||
--to 's3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem&compression=zstd' \
|
||||
nix run github:cything/nixcp/2025-04-12 -- \
|
||||
push \
|
||||
--bucket nixcache \
|
||||
--signing-key /home/runner/cache-priv-key.pem \
|
||||
--endpoint https://s3.cy7.sh \
|
||||
-u https://nix-community.cachix.org \
|
||||
-u https://nixcache.web.cy7.sh \
|
||||
$package
|
||||
|
||||
build-homes:
|
||||
|
@ -142,8 +144,10 @@ jobs:
|
|||
if: '!cancelled()'
|
||||
run: |
|
||||
package=".#homeConfigurations."${{ matrix.home }}".activationPackage"
|
||||
nix run git+https://git.cy7.sh/cy/nixcp.git -- \
|
||||
--to 's3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem&compression=zstd' \
|
||||
nix run github:cything/nixcp/2025-04-12 -- \
|
||||
push \
|
||||
--bucket nixcache \
|
||||
--signing-key /home/runner/cache-priv-key.pem \
|
||||
--endpoint https://s3.cy7.sh \
|
||||
-u https://nix-community.cachix.org \
|
||||
-u https://nixcache.web.cy7.sh \
|
||||
$package
|
||||
|
|
12
.github/workflows/build-packages.yml
vendored
12
.github/workflows/build-packages.yml
vendored
|
@ -22,8 +22,8 @@ jobs:
|
|||
os:
|
||||
- ubuntu-latest
|
||||
- ubuntu-24.04-arm
|
||||
# - macos-latest
|
||||
# - macos-13
|
||||
- macos-latest
|
||||
- macos-13
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
@ -61,10 +61,12 @@ jobs:
|
|||
# https://stackoverflow.com/a/58859404
|
||||
if: '!cancelled()'
|
||||
run: |
|
||||
nix run git+https://git.cy7.sh/cy/nixcp.git -- \
|
||||
--to 's3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem&compression=zstd' \
|
||||
nix run github:cything/nixcp/2025-04-12 -- \
|
||||
push \
|
||||
--bucket nixcache \
|
||||
--signing-key /home/runner/cache-priv-key.pem \
|
||||
--endpoint https://s3.cy7.sh \
|
||||
-u https://nix-community.cachix.org \
|
||||
-u https://nixcache.web.cy7.sh \
|
||||
"${{ matrix.package }}"
|
||||
|
||||
- name: prepare tarball to upload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue