Skip to content

Commit

Permalink
2023.4.30 10:40 星期日 by:tosasitill 自动提交脚本 上传
Browse files Browse the repository at this point in the history
  • Loading branch information
tosasitill committed Apr 30, 2023
1 parent 427b4b2 commit a3b4e4b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/BootIMGExtractAction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a3b4e4b

Please sign in to comment.