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