fix(pkg/disk): handle raid/md devices, recursive lsblk parse for more depth #4901
This file contains hidden or 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
| name: Build and Store gpud binary | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up environment | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y linux-headers-$(uname -r) | |
| - name: Build project | |
| run: | | |
| make | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: gpud | |
| path: bin/gpud |