Skip to content

Update update_kernel_source.yml #3

Update update_kernel_source.yml

Update update_kernel_source.yml #3

# This is a basic workflow to help you get started with Actions
name: Update Kernel Source Code
# Controls when the workflow will run
on:
push:
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Download packages needed
run: |
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install repo
- name: Free up space
uses: jlumbroso/free-disk-space@main
# Runs a single command using the runners shell
- name: Sync kernel source
run: |
mkdir android-kernel
cd android-kernel
repo init -u https://android.googlesource.com/kernel/manifest -b android14-gs-pixel-6.1
repo sync -c --no-tags