Skip to content

Bump linux kernel to get newer dynev with net support #43

Bump linux kernel to get newer dynev with net support

Bump linux kernel to get newer dynev with net support #43

Workflow file for this run

name: Compile and release
on: [push]
jobs:
build:
# Only publish on tags. run git tag vX and git push origin vX
runs-on: panda-arc
steps:
- name: Install git
run: sudo apt-get -qq update -y && sudo apt-get -qq install git -y
- uses: actions/checkout@v4 # Clones to $GITHUB_WORKSPACE. NOTE: this requires git > 2.18 (not on ubuntu 18.04 by default) to get .git directory and submodules
with:
fetch-depth: 0
#submodules: 'true'
# Instead of getting submodules with checkout, we can do it manually to control depth.
# We don't want a full Linux history
- name: Pull kernel source
run: git submodule update --init --depth 1
- name: Build
uses: docker/build-push-action@v5
with:
context: .
load: true
tags: pandare/kernel_builder:latest
- name: Build
run: docker run --rm -v $PWD:/app pandare/kernel_builder /app/build.sh
- name: Save package
uses: actions/upload-artifact@v3
with:
name: kernels-latest.tar.gz
path: kernels-latest.tar.gz
- name: Create release
if: startsWith(github.ref, 'refs/tags/v')
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: release_${{ github.sha }}
release_name: Release ${{ github.ref }}
body: |
Release @${{ github.ref }}
draft: true
prerelease: false
- name: Publish release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: kernels-latest.tar.gz
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref }}