wine-mirrors-websize/.github/workflows/autoload.yml

24 lines
819 B
YAML

name: Building Wine 7z Package(daily)
run-name: ${{ github.actor }} Building Wine 7z Package (daily)🚀
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- name: Building Wine
env:
GUSER: ${{ secrets.GUSER }}
PASSWORD: ${{ secrets.PASSWORD }}
UPLOADURL: ${{ secrets.UPLOADURL }}
run: |
# 配置编译容器
sudo apt update
sudo apt install python3 python3-requests git neofetch -y
neofetch
#https://github.com/gfdgd-xi/wine-mirrors-websize/raw/master/information.json
git clone https://$USER:$PASSWORD@github.com/gfdgd-xi/wine-mirrors-websize
cd wine-mirrors-websize
python3 update.py
git add .
git commit -m 更新
git push