auto
This commit is contained in:
parent
82581a1aeb
commit
0f44c1c181
|
@ -0,0 +1,24 @@
|
|||
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
|
|
@ -21,7 +21,7 @@ html = f"""<!DOCTYPE html>
|
|||
"""
|
||||
#with open(f"information.json", "r") as file:
|
||||
# lists = json.loads(file.read())
|
||||
lists = requests.get("http://wine.wine-runner.gfdgdxi.top/information.json").json()
|
||||
lists = requests.get("https://github.com/gfdgd-xi/wine-mirrors-websize/raw/master/information.json").json()
|
||||
for i in lists:
|
||||
html += f" <p><a href='{i[1]}'>{i[0]}</a></p>\n"
|
||||
html += f""" <p><a href='https://gitee.com/gfdgd-xi/deep-wine-runner/stargazers'><img src='https://gitee.com/gfdgd-xi/deep-wine-runner/badge/star.svg?theme=dark' alt='star'></img></a><a href='https://gitee.com/gfdgd-xi/deep-wine-runner/members'><img src='https://gitee.com/gfdgd-xi/deep-wine-runner/badge/fork.svg?theme=dark' alt='fork'></img></a></p>
|
||||
|
|
Loading…
Reference in New Issue