Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fillwithjoy1 authored Jun 26, 2024
1 parent 6e099d9 commit 0f50125
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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

0 comments on commit 0f50125

Please sign in to comment.