File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99permissions :
1010 contents : write
1111
12+ env :
13+ NIX_CONFIG : experimental-features = nix-command flakes
14+
1215jobs :
1316 bundle :
1417 name : Bundle ${{ matrix.pretty_name }}
@@ -29,19 +32,25 @@ jobs:
2932 - name : Checkout sources
3033 uses : actions/checkout@v4
3134
32- - name : Download nix-portable
33- run : |
34- set -euo pipefail
35- curl -L https://github.com/DavHau/nix-portable/releases/latest/download/nix-portable-$(uname -m) -o nix-portable
36- chmod +x nix-portable
35+ - name : Install Nix
36+ uses : DeterminateSystems/nix-installer-action@v12
37+ with :
38+ extra-conf : |
39+ keep-outputs = true
40+ keep-derivations = true
41+
42+ - name : Enable Nix cache
43+ uses : DeterminateSystems/magic-nix-cache-action@v4
44+ with :
45+ use-flakehub : false
3746
3847 - name : Build Neovim
39- run : ./nix-portable nix build .#nvim
48+ run : nix build .#nvim
4049
4150 - name : Bundle Neovim
4251 run : |
4352 rm -rf bundle
44- ./nix-portable nix bundle --bundler github:DavHau/nix-portable#zstd-max -o bundle .#nvim
53+ nix bundle --bundler github:DavHau/nix-portable#zstd-max -o bundle .#nvim
4554
4655 - name : Package bundle
4756 run : |
You can’t perform that action at this time.
0 commit comments