Skip to content

Commit

Permalink
ci: add patching (wip) (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
steadfasterX authored May 12, 2024
1 parent 4949314 commit 492c302
Showing 1 changed file with 37 additions and 0 deletions.
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

0 comments on commit 492c302

Please sign in to comment.