forked from armv7a/BootIMGExtractAction
-
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.
2023.4.30 10:40 星期日 by:tosasitill 自动提交脚本 上传
- Loading branch information
1 parent
427b4b2
commit a3b4e4b
Showing
1 changed file
with
0 additions
and
3 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 |
---|---|---|
|
@@ -40,9 +40,6 @@ jobs: | |
cd ~/Firmware_extractor/out | ||
if [ -f "init_boot.img" ]; then rm boot.img; fi | ||
du -h --total *.img | sed 's/^/提取镜像大小: /' | head -n 1 >> ${{ github.workspace }}/info.md | ||
if [ -e "init_boot.img" ]; then curl -k -F "file=@/home/runner/Firmware_extractor/out/init_boot.img" -F "token=${{ secrets.TMP }}" -F "model=0" -X POST "https://connect.tmp.link/api_v2/cli_uploader" >> ${{ github.workspace }}/info.md; else curl -k -F "file=@/home/runner/Firmware_extractor/out/boot.img" -F "token=${{ secrets.TMP }}" -F "model=0" -X POST "https://connect.tmp.link/api_v2/cli_uploader" >> ${{ github.workspace }}/info.md fi | ||
sed -i 's/Download Page/下载链接/g' ${{ github.workspace }}/info.md | ||
sed -i '$d' ${{ github.workspace }}/info.md | ||
- name: 上传镜像及相关信息 | ||
uses: ncipollo/[email protected] | ||
|