Skip to content

Commit 492c302

Browse files
authored
ci: add patching (wip) (#1)
1 parent 4949314 commit 492c302

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/patch.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "Apply divestOS patches"
2+
3+
on:
4+
workflow_dispatch: # button shown only when in default branch
5+
6+
# Sets permissions of the GITHUB_TOKEN to allow pushing via github token
7+
permissions:
8+
contents: write # allow git push
9+
10+
jobs:
11+
sync:
12+
runs-on: ubuntu-latest
13+
name: "Get divest + AXP patches"
14+
15+
steps:
16+
17+
- name: Checkout dOS
18+
uses: actions/checkout@v4
19+
with:
20+
path: dos
21+
repository: AXP-OS/build
22+
ref: ${{ github.head_ref || github.ref_name }}
23+
submodules: true
24+
lfs: true
25+
26+
- name: Checkout repo
27+
uses: actions/checkout@v4
28+
with:
29+
path: dos/Build/LineageOS-20.0/kernel/google/gs201/private
30+
submodules: true
31+
lfs: true
32+
33+
- name: debug
34+
run: |
35+
ls -la
36+
ls -la dos
37+
ls -la dos/Build/LineageOS-20.0

0 commit comments

Comments
 (0)