mirror of
https://github.com/sstent/NixOS_ARM_SDImages.git
synced 2025-12-06 06:01:42 +00:00
Update main.yml
This commit is contained in:
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@@ -22,11 +22,12 @@ jobs:
|
||||
run: |
|
||||
uname -a
|
||||
echo ::set-output name=uname::$(uname -a)
|
||||
apt-get update
|
||||
apt install -y docker.io
|
||||
docker ps
|
||||
docker run nixos/nix nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./sd-image.nix
|
||||
|
||||
- name: Get the output
|
||||
# Echo the `uname` output parameter from the `runcmd` step
|
||||
run: |
|
||||
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"
|
||||
apt-get update
|
||||
apt install -y docker.io
|
||||
docker ps
|
||||
docker run nixos/nix nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./sd-image.nix
|
||||
|
||||
Reference in New Issue
Block a user