mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-17 21:30:02 +00:00
trust the right user for cache setup
This commit is contained in:
parent
d88e9aba55
commit
3193ad031c
|
@ -96,7 +96,8 @@ jobs:
|
||||||
vmImage: 'ubuntu-22.04'
|
vmImage: 'ubuntu-22.04'
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm
|
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix \
|
||||||
|
| sh -s -- install --no-confirm --extra-conf "trusted-users = root vsts"
|
||||||
displayName: Install Nix
|
displayName: Install Nix
|
||||||
- script: |
|
- script: |
|
||||||
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||||
|
@ -135,7 +136,8 @@ jobs:
|
||||||
vmImage: 'macOS-11'
|
vmImage: 'macOS-11'
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm
|
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix \
|
||||||
|
| sh -s -- install --no-confirm --extra-conf "trusted-users = root runner"
|
||||||
displayName: Install Nix
|
displayName: Install Nix
|
||||||
- script: |
|
- script: |
|
||||||
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||||
|
|
Loading…
Reference in New Issue
Block a user