Skip to content

Commit

Permalink
.github: Generate and upload diff with patches
Browse files Browse the repository at this point in the history
  • Loading branch information
R0rt1z2 committed Sep 23, 2024
1 parent fafa33d commit be54035
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build_apk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,17 @@ jobs:

- run: java -jar apktool_${{ env.APKTOOL_VER }}.jar b .

- name: Generate diff file with patches
run: |
REPO_NAME=$(basename "$GITHUB_REPOSITORY")
git diff $(git rev-list --max-parents=0 HEAD) -- . ':(exclude).github' > "${REPO_NAME}_patch.diff"
- uses: actions/upload-artifact@v3
with:
name: APK
path: dist/hwEmui.jar

- uses: actions/upload-artifact@v3
with:
name: Patch
path: "${{ github.repository }}_patch.diff"

0 comments on commit be54035

Please sign in to comment.