Skip to content

Commit 434444f

Browse files
committed
update build.yml
1 parent 79e82fc commit 434444f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v4
3333

34-
- name: Install Nix 2.30.2
34+
- name: Install Nix 2.31.1
3535
run: |
36-
# 安装最新稳定版 Nix 2.30.2
37-
sh <(curl -L https://nixos.org/nix/install) --no-confirm
36+
# 安装最新稳定版 Nix 2.31.1 (单用户模式)
37+
sh <(curl -L https://nixos.org/nix/install) --no-daemon --yes
3838
# 重新加载环境
3939
. /home/runner/.nix-profile/etc/profile.d/nix.sh
4040
# 验证安装

0 commit comments

Comments
 (0)