use dummy file to test artifact upload
Some checks failed
Build Custom Kernel / build-kernel (push) Failing after 44s
Some checks failed
Build Custom Kernel / build-kernel (push) Failing after 44s
This commit is contained in:
@@ -23,12 +23,17 @@ jobs:
|
|||||||
ca-certificates
|
ca-certificates
|
||||||
curl -L https://nixos.org/nix/install | sh -s -- --daemon
|
curl -L https://nixos.org/nix/install | sh -s -- --daemon
|
||||||
|
|
||||||
- name: Build custom kernel
|
# - name: Build custom kernel
|
||||||
|
# run: |
|
||||||
|
# export NIX_BUILD_CORES=0
|
||||||
|
# nix-build '<nixpkgs/nixos>' -A config.system.build.kernel --arg configuration ./custom-kernel.nix
|
||||||
|
# env:
|
||||||
|
# PATH: /nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin
|
||||||
|
|
||||||
|
- name: Create dummy files
|
||||||
run: |
|
run: |
|
||||||
export NIX_BUILD_CORES=0
|
mkdir -p ./result
|
||||||
nix-build '<nixpkgs/nixos>' -A config.system.build.kernel --arg configuration ./custom-kernel.nix
|
echo "This is a dummy file" > ./result/dummy-file.txt
|
||||||
env:
|
|
||||||
PATH: /nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin
|
|
||||||
|
|
||||||
- name: Zip kernel artifacts
|
- name: Zip kernel artifacts
|
||||||
run: zip -r custom-kernel.zip ./result
|
run: zip -r custom-kernel.zip ./result
|
||||||
@@ -37,4 +42,4 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: custom-kernel
|
name: custom-kernel
|
||||||
path: ./result
|
path: ./custom-kernel.zip
|
||||||
Reference in New Issue
Block a user