Skip to content

Commit 517604c

Browse files
committed
use static binaries for niks3
1 parent 564f409 commit 517604c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/nix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434

3535
- name: Push to cache
3636
run: |
37-
nix build -o niks3 github:Mic92/niks3
38-
niks3/bin/niks3 push \
37+
curl -fsSL "https://github.com/Mic92/niks3/releases/latest/download/niks3_$(uname -s)_$(uname -m).tar.gz" | tar -xzf -
38+
./niks3 push \
3939
--server-url https://niks3.numtide.com \
4040
--auth-token "${{ steps.oidc.outputs.token }}" \
41-
./result ./niks3
41+
./result
4242
4343
- name: Run lint
4444
run: nix develop -c just lint

0 commit comments

Comments
 (0)