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:
2
.github/update.sh
vendored
2
.github/update.sh
vendored
@@ -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')
|
||||
|
||||
2
.github/workflows/zen-update.yml
vendored
2
.github/workflows/zen-update.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user