-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: use just 1 unified job and release
- Loading branch information
1 parent
5cae227
commit 289681b
Showing
1 changed file
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,30 @@ | ||
name: Patch boot images | ||
name: Patch Exynos982x boot images with magisk | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
patch_boot_s10: | ||
name: Patch boot images for S10 series | ||
patch_boot: | ||
name: Patch boot images and release | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Patch boot images with Magisk | ||
uses: 0xsharkboy/magisk-patch-action@main | ||
with: | ||
devices: beyond0lte,beyond1lte,beyond2lte,beyondx | ||
devices: beyond0lte,beyond1lte,beyond2lte,beyondx,d1,d2s,d2x,f62 | ||
ota_link: https://raw.githubusercontent.com/Evolution-XYZ/OTA/udc/builds/ | ||
release_title: Magisk patched boot images for S10 series | ||
github_token: ${{ secrets.TOKEN }} | ||
|
||
- name: Clean downloaded zip packages | ||
run: find ./script/ -type f -name '*.zip' -delete | ||
- name: Get current date | ||
id: date | ||
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV ; ls -R | ||
|
||
patch_boot_n10_f62: | ||
name: Patch boot images for Note 10 series and F62 | ||
needs: patch_boot_s10 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Patch boot images with Magisk | ||
uses: 0xsharkboy/magisk-patch-action@main | ||
- name: Upload patched boot images | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
devices: d1,d2s,d2x,f62 | ||
ota_link: https://raw.githubusercontent.com/Evolution-XYZ/OTA/udc/builds/ | ||
release_title: Magisk patched boot images for Note 10 series and f62 | ||
github_token: ${{ secrets.TOKEN }} | ||
token: ${{ secrets.TOKEN }} | ||
name: ${{ env.date }} | ||
tag_name: ${{ github.run_id }} | ||
make_latest: 'true' | ||
files: ./script/out/*.img | ||
|