Change user
Some checks failed
Push Workflows / test (push) Has been cancelled
Push Workflows / leptos-test (push) Has been cancelled
Push Workflows / docs (push) Has been cancelled
Push Workflows / docker-build (push) Has been cancelled
Push Workflows / build (push) Has been cancelled
Push Workflows / nix-build (push) Has been cancelled
Some checks failed
Push Workflows / test (push) Has been cancelled
Push Workflows / leptos-test (push) Has been cancelled
Push Workflows / docs (push) Has been cancelled
Push Workflows / docker-build (push) Has been cancelled
Push Workflows / build (push) Has been cancelled
Push Workflows / nix-build (push) Has been cancelled
This commit is contained in:
parent
d391549849
commit
412b18df23
@ -79,11 +79,15 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Create User
|
||||
run: useradd -m -s /bin/bash -u 1000 user
|
||||
- name: Change User
|
||||
run: su user
|
||||
- name: Print User
|
||||
run: whoami
|
||||
- name: Set up Nix
|
||||
uses: cachix/install-nix-action@v27
|
||||
- name: Print username
|
||||
run: whoami
|
||||
- name: List all users
|
||||
run: cat /etc/passwd
|
||||
- name: Build project with Nix
|
||||
run: nix build .#default --experimental-features 'nix-command flakes'
|
||||
|
Loading…
x
Reference in New Issue
Block a user