diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 08ae3d9..675dec9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,6 +24,7 @@ jobs: - name: Build run: | go install github.com/u-root/mkuimage/cmd/mkuimage@latest + go install github.com/hugelgupf/vmtest/tools/runvmtest@latest GOARCH=${{ matrix.arch }} mkuimage -config=default \ -o ${{ matrix.arch }}-${{ matrix.template }}.cpio \ ${{ matrix.template }} @@ -31,6 +32,7 @@ jobs: --stdout ${{ matrix.arch }}-${{ matrix.template }}.cpio | \ dd conv=sync bs=512 \ of=${{ matrix.arch }}-${{ matrix.template }}.cpio.xz + runvmtest -- bash -c "cp \$VMTEST_KERNEL ./kernel-x86_64" - name: Upload uses: svenstaro/upload-release-action@v2 @@ -39,3 +41,11 @@ jobs: tag: ${{ github.ref }} file: ${{ matrix.arch }}-${{ matrix.template }}.cpio.xz asset_name: u-root_${{ matrix.arch }}_${{ matrix.template }}.cpio.xz + + - name: Upload_kernels + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref }} + file: kernel-x86_64 + asset_name: kernel-x86_64