fix script

This commit is contained in:
Charlotte 🦝 Delenk 2022-11-15 20:46:11 +01:00
parent f3ebb0a1d3
commit 8cf4a5bf2f
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -81,7 +81,7 @@ jobs:
run: |
DRV_PATH=$(nix-instantiate -E '(import ./. {}).${{ matrix.package }}')
# check if we already built it
NARINFO=$(echo $DRV_PATH | | sed 's|/| |g' | sed 's|-| |g' | awk '{print $3}')
NARINFO=$(echo $DRV_PATH | sed 's|/| |g' | sed 's|-| |g' | awk '{print $3}')
if curl --output /dev/null --silent --head --fail "https://f000.backblazeb2.com/file/cache-chir-rs/$NARINFO.narinfo"; then
echo "${{ matrix.package }} already built. Skipping"
else