From bdad4fa3153508f8d64ae19b29e19bbd369cda44 Mon Sep 17 00:00:00 2001 From: Tomas Srnka Date: Tue, 25 Nov 2025 15:17:11 +0100 Subject: [PATCH] Modify release asset preparation in workflow Updated the workflow to prepare release assets by copying vmlinux binaries to a new directory before uploading. --- .github/workflows/fc-kernels.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fc-kernels.yml b/.github/workflows/fc-kernels.yml index 489a659..654d107 100644 --- a/.github/workflows/fc-kernels.yml +++ b/.github/workflows/fc-kernels.yml @@ -77,6 +77,17 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Prepare release assets + if: github.ref_name == 'main' + run: | + mkdir -p release-assets + for dir in ./builds/*/; do + name=$(basename "$dir") + cp "$dir/vmlinux.bin" "release-assets/vmlinux-${name}.bin" + done + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload Release Asset if: github.ref_name == 'main' uses: softprops/action-gh-release@v2 @@ -85,5 +96,5 @@ jobs: with: name: Kernels ${{ steps.get-version.outputs.version }} tag_name: ${{ steps.get-version.outputs.version }} - files: "./builds/**" + files: "./release-assets/*"