Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
update: actions: test: packing configs for debugging purpose
Browse files Browse the repository at this point in the history
It turns out that repacking and packing the remote super.img on the local machine fixes the bootable issue. 

Packing the configs and uploading them to OneDrive,  I am gonna comparethe differences.
  • Loading branch information
toraidl authored Apr 25, 2024
1 parent fec292a commit fc623de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/hyperos_port_new_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
java -version
python3 --version
sudo bash "$GITHUB_WORKSPACE"/port.sh ${{ github.event.inputs.STOCK_URL }} ${{ github.event.inputs.PORT_URL }}
sudo zip -jr "$GITHUB_WORKSPACE"/config.zip "$GITHUB_WORKSPACE"/build/portrom/images/config
- name: 5. 准备上传 | PREPARE UPLOADING
run: |
ROM_FILE=$(basename $(find "$GITHUB_WORKSPACE"/out -name "*.zip"))
Expand All @@ -81,6 +82,7 @@ jobs:
- name: 7.上传到OneDrive | PUSH ROM TO ONEDRIVE
run: |
rclone sync -P "$GITHUB_WORKSPACE"/out/${{ env.ROM_FILE }} onedrive:/ROM/github-actions
rclone copy -P "$GITHUB_WORKSPACE"/config.zip onedrive:/ROM/github-actions
SHARE_LINK=$(rclone link onedrive:/ROM/github-actions/ --onedrive-link-scope anonymous)
touch file.log
echo -e "Onedrive下载链接 | Onedrive alternate download link: \n $SHARE_LINK" > file.log
Expand Down

0 comments on commit fc623de

Please sign in to comment.