forked from tiann/KernelSU
-
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.
- Loading branch information
Showing
13 changed files
with
108 additions
and
35 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 |
---|---|---|
|
@@ -92,8 +92,12 @@ jobs: | |
echo "$BOOT_SIGN_KEY" > ./kernel-build-tools/linux-x86/share/avb/testkey_rsa2048.pem | ||
fi | ||
- name: Setup mutex for uploading | ||
uses: ben-z/[email protected] | ||
- name: Bot session cache | ||
id: bot_session_cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: scripts/ksubot.session | ||
key: ${{ runner.os }}-bot-session | ||
|
||
- name: Build boot images | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -115,8 +115,12 @@ jobs: | |
echo "$BOOT_SIGN_KEY" > ./kernel-build-tools/linux-x86/share/avb/testkey_rsa2048.pem | ||
fi | ||
- name: Setup mutex for uploading | ||
uses: ben-z/[email protected] | ||
- name: Bot session cache | ||
id: bot_session_cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: scripts/ksubot.session | ||
key: ${{ runner.os }}-bot-session | ||
|
||
- name: Build boot images | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -76,8 +76,12 @@ jobs: | |
echo "$BOOT_SIGN_KEY" > ./kernel-build-tools/linux-x86/share/avb/testkey_rsa2048.pem | ||
fi | ||
- name: Setup mutex for uploading | ||
uses: ben-z/[email protected] | ||
- name: Bot session cache | ||
id: bot_session_cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: scripts/ksubot.session | ||
key: ${{ runner.os }}-bot-session | ||
|
||
- name: Build boot images | ||
run: | | ||
|
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
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
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 |
---|---|---|
|
@@ -102,9 +102,13 @@ jobs: | |
name: manager | ||
path: manager/app/build/outputs/apk/release/*.apk | ||
|
||
- name: Setup mutex for uploading | ||
uses: ben-z/[email protected] | ||
- name: Bot session cache | ||
if: github.event_name != 'pull_request' && steps.need_upload.outputs.UPLOAD == 'true' | ||
id: bot_session_cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: scripts/ksubot.session | ||
key: ${{ runner.os }}-bot-session | ||
|
||
- name: Upload to telegram | ||
if: github.event_name != 'pull_request' && steps.need_upload.outputs.UPLOAD == 'true' | ||
|
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 |
---|---|---|
|
@@ -37,9 +37,13 @@ jobs: | |
with: | ||
name: su | ||
path: ./userspace/su/libs | ||
- name: Setup mutex for uploading | ||
uses: ben-z/[email protected] | ||
- name: Bot session cache | ||
if: github.event_name != 'pull_request' && steps.need_upload.outputs.UPLOAD == 'true' | ||
id: bot_session_cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: scripts/ksubot.session | ||
key: ${{ runner.os }}-bot-session | ||
- name: Upload to telegram | ||
if: github.event_name != 'pull_request' && steps.need_upload.outputs.UPLOAD == 'true' | ||
env: | ||
|
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 |
---|---|---|
|
@@ -157,7 +157,7 @@ jobs: | |
- name: Make working directory clean to avoid dirty | ||
working-directory: android-kernel | ||
run: | | ||
sed -i '/^rfkill_/d' common/android/abi_gki_protected_exports_* | ||
sed -i '/^rfkill_/d' common/android/abi_gki_protected_exports_* || echo "No protected exports!" | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "KernelSUBot" | ||
cd common/ && git add -A && git commit -a -m "Add KernelSU" | ||
|
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
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
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
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
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