Skip to content

Commit

Permalink
add 上传到 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cc1477 committed Nov 25, 2023
1 parent 445a763 commit 4ede238
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/rom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,13 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/tool
sudo -s bash tool.sh
- name: Upload kernel to artifact
uses: actions/upload-artifact@v3
with:
name: ${{ env.zipname }}
path: |
work/${{ env.zipname }}
work/Magisk-Recover.zip
work/log*.zip
2 changes: 1 addition & 1 deletion tool/Config.CFG
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Br=9

#打包名称,不要加.zip后缀,不填则以默认打包名称打包
#默认名称为: 64bit-官方格式
name=
name=miui_OLIVE_V12.5.5.0.QCNCNXM_e55e6cc0b5_10.0

#上传的网盘
Upload=wss
3 changes: 2 additions & 1 deletion tool/tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,5 @@ echo "$(date "+[ %H:%M:%S ]") 上传的网盘:$Upload"
cd $M

#上传
bash ${M}/Script/Upload.sh
echo "zipname=${dname}" >> $GITHUB_ENV
#bash ${M}/Script/Upload.sh

0 comments on commit 4ede238

Please sign in to comment.