on: schedule: -cron:'0 22 * * 4' jobs: job_1: name:FetchFFCover runs-on:ubuntu-latest steps: -uses:actions/checkout@v2 -name:FetchFFCover run:| rm-rfffdec wgethttps://github.com/jindrapetrik/jpexs-decompiler/releases/download/version14.2.1/ffdec_14.2.1.zip mkdirffdec;mvffdec_14.2.1.zip./ffdec/ cdffdec unzipffdec_14.2.1.zip wgethttp://hua.61.com/resource/baseUI/fisrtPage.swf java-Xmx3550m-jar./ffdec.jar-exportimage./xhxCover/./fisrtPage.swf -name:Uploadtothisrepo run:| mkdirxhxCover cdffdec/xhxCover mv*.png../../xhxCover/cover.png cd../.. rm-rfffdec cdxhxCover gitconfig--globaluser.name"No5972"# Change to your GitHub user name gitconfig--globaluser.email"wujiuqier@foxmail.com"# Change to your GitHub email address gitadd"*.png"&&echo"Git Added"# Guess if there are any other types of pictures - Ref: https://stackoverflow.com/questions/25083290/git-add-error-unknown-switch gitcommit-m'Fetch FF Cover'&&echo"Git Committed" gitpush-uoriginmaster&&echo"Git Pushed Origin"# Change to your branch to place crawled pictures