forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Openmesh-Network/feature/github-workflow-f…
…or-kexec-builds When dev and main are updated, we need to release kexec resources
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
|
||
jobs: | ||
build: | ||
name: Build XnodeOS kexec Image and Support Files | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
- name: Install Nix | ||
uses: cachix/install-nix-action@v22 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-unstable | ||
- name: Build XnodeOS kexec Image | ||
run: make kexec | ||
- name: Archive kexec Archive as Build Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: xnodeos-kexec-system-x86_64-linux.tar.xz | ||
path: result/tarball/nixos-system-x86_64-linux.tar.xz |