diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 52524bc..4294c01 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,6 @@ name: Compile Kernel # Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the "main" branch push: pull_request: @@ -20,15 +19,21 @@ jobs: # 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 - - uses: actions/checkout@v4 - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! + - name: Update packages + run: | + sudo apt-get update + sudo apt-get upgrade + + - name: Install Repo + run: | + sudo apt-get install repo # Runs a set of commands using the runners shell - - name: Run a multi-line script + - name: Sync kernel repo run: | - echo Add other actions to build, - echo test, and deploy your project. + 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 +