From 492c3028f7b61468466d5e2fc9c080bc3f67e147 Mon Sep 17 00:00:00 2001 From: steadfasterX Date: Sun, 12 May 2024 15:21:34 +0200 Subject: [PATCH] ci: add patching (wip) (#1) --- .github/workflows/patch.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/patch.yml diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml new file mode 100644 index 000000000000..2fcf87356512 --- /dev/null +++ b/.github/workflows/patch.yml @@ -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