Skip to content

Commit

Permalink
111
Browse files Browse the repository at this point in the history
Signed-off-by: ghhccghk <[email protected]>
  • Loading branch information
ghhccghk committed May 14, 2022
1 parent 401db2a commit 664de7c
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/actions_recovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,19 @@ jobs:
echo "::set-output name=pwd::$(pwd)"
git config --global user.name "${{ steps.var.outputs.git_username }}"
git config --global user.email "${{ steps.var.outputs.git_email }}"
mkdir ~/OrangeFox_sync
cd ~/OrangeFox_sync
git clone https://gitlab.com/OrangeFox/sync.git
cd ~/OrangeFox_sync/sync/
./orangefox_sync.sh --branch 11.0 --path /home/runner/workspace/
cd /home/runner/workspace/
repo init --depth=1 -u https://gitlab.com/OrangeFox/Manifest.git -b fox_9.0
repo sync -j$(nproc --all) --force-sync
git clone https://${{ steps.var.outputs.dt_remote }}/${{ steps.var.outputs.dt_url }}.git ${{ steps.var.outputs.dt_path }}
rm -rf bootable/recovery/gui/theme
git clone https://github.com/ghhccghk/recovery-theme.git bootable/recovery/gui/theme
mkdir /home/runner/workspace/out
mkdir /home/runner/workspace/out/target
mkdir /home/runner/workspace/out/target/product
mkdir /home/runner/workspace/out/target/product/PBCM10
mkdir /home/runner/workspace/out/target/product/PBCM10/system
mkdir /home/runner/workspace/out/target/product/PBCM10/system/etc/
cp /home/runner/workspace/device/oppo/PBCM10/recovery/root/system/etc/ld.config.txt /home/runner/workspace/out/target/product/PBCM10/system/etc/ld.config.txt
rm -rf /home/runner/workspace/device/xiaomi
- name: Start Building
run: |
PATH=~/bin:$PATH
Expand All @@ -91,7 +89,6 @@ jobs:
source build/envsetup.sh
export FOX_USE_TWRP_RECOVERY_IMAGE_BUILDER=1
export OF_MAINTAINER="ghhccghk"
export LC_ALL="zh_CN"
lunch twrp_${{ steps.var.outputs.device_code }}-eng
mka recoveryimage -j$(nproc --all)
Expand Down

0 comments on commit 664de7c

Please sign in to comment.