workflow: use direct s3 url check for hit on nixcache

This commit is contained in:
cy 2025-04-02 16:18:16 -04:00
parent 2f1b064d59
commit 22cc5aed31
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
2 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ jobs:
nix run git+https://git.cy7.sh/cy/nixcp.git -- \ 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' \ --to 's3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem' \
-u https://nix-community.cachix.org \ -u https://nix-community.cachix.org \
-u https://nixcache.cy7.sh \ -u https://nixcache.web.cy7.sh \
$package $package
build-homes: build-homes:
@ -151,5 +151,5 @@ jobs:
nix run git+https://git.cy7.sh/cy/nixcp.git -- \ 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' \ --to 's3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem' \
-u https://nix-community.cachix.org \ -u https://nix-community.cachix.org \
-u https://nixcache.cy7.sh \ -u https://nixcache.web.cy7.sh \
$package $package

View file

@ -67,7 +67,7 @@ jobs:
nix run git+https://git.cy7.sh/cy/nixcp.git -- \ 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' \ --to 's3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem' \
-u https://nix-community.cachix.org \ -u https://nix-community.cachix.org \
-u https://nixcache.cy7.sh \ -u https://nixcache.web.cy7.sh \
"${{ matrix.package }}" "${{ matrix.package }}"
- name: prepare tarball to upload - name: prepare tarball to upload