Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add patching (wip) #1

Merged
merged 2 commits into from
May 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Apply divestOS patches"

on:
workflow_dispatch: # button shown only when in default branch

# Sets permissions of the GITHUB_TOKEN to allow pushing via github token
permissions:
contents: write # allow git push

jobs:
sync:
runs-on: ubuntu-latest
name: "Get divest + AXP patches"

steps:

- name: Checkout dOS
uses: actions/checkout@v4
with:
path: dos
repository: AXP-OS/build
ref: ${{ github.head_ref || github.ref_name }}
submodules: true
lfs: true

- name: Checkout repo
uses: actions/checkout@v4
with:
path: dos/Build/LineageOS-20.0/kernel/google/gs201/private
submodules: true
lfs: true

- name: debug
run: |
ls -la
ls -la dos
ls -la dos/Build/LineageOS-20.0
Loading