Merge pull request #21 from OliverGeneser/fix-new-format

Fix tar.bz2 -> tar.xz and migrate from magic-nix-cache to flakehub-cache
This commit is contained in:
Luis Quiñones
2025-02-01 09:55:28 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

2
.github/update.sh vendored
View File

@@ -50,7 +50,7 @@ try_to_update() {
fi
version=$(echo "$target_tag_meta" | jq -r '.name')
download_url="https://github.com/zen-browser/desktop/releases/download/$version/zen.linux-$arch.tar.bz2"
download_url="https://github.com/zen-browser/desktop/releases/download/$version/zen.linux-$arch.tar.xz"
prefetch_output=$(nix store prefetch-file --unpack --hash-type sha256 --json "$download_url")
sha256=$(echo "$prefetch_output" | jq -r '.hash')

View File

@@ -26,7 +26,7 @@ jobs:
- name: Setup Nix Magic Cache
if: steps.check.outputs.should_update == 'true'
uses: DeterminateSystems/magic-nix-cache-action@main
uses: DeterminateSystems/flakehub-cache-action@main
- name: Update versions
id: update