尝试termux构建
Some checks failed
Auto Building Wine Runner(rpm) / Explore-GitHub-Actions (push) Has been cancelled
Auto Building Wine Runner(deb) / Explore-GitHub-Actions (push) Has been cancelled
Building Wine Runner Off-line Pages(arm64) / Explore-GitHub-Actions (push) Has been cancelled
Building Wine Runner Off-line Pages(amd64) / Explore-GitHub-Actions (push) Has been cancelled

This commit is contained in:
gfdgd xi 2024-07-26 20:59:23 +08:00
parent fbd14710a5
commit 0623b95fca
3 changed files with 17 additions and 11 deletions

View File

@ -1,7 +1,6 @@
name: Auto Building Wine Runnerpkg name: Auto Building Wine Runnerpkg
run-name: ${{ github.actor }} Auto Building Wine Runnerpkg 🚀 run-name: ${{ github.actor }} Auto Building Wine Runnerpkg 🚀
on: on:
push:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
Explore-GitHub-Actions: Explore-GitHub-Actions:
@ -16,8 +15,9 @@ jobs:
run: | run: |
# 配置环境 # 配置环境
pacman -Sy pacman -Sy
pacman -S debtap git sudo pacman -S yay git sudo
pacman -S dpkg qt5-base -y pacman -S dpkg qt5-base -y
yay install
git clone https://github.com/gfdgd-xi/deep-wine-runner git clone https://github.com/gfdgd-xi/deep-wine-runner
cd deep-wine-runner cd deep-wine-runner
make package-deb -j4 make package-deb -j4
@ -25,7 +25,7 @@ jobs:
cd .. cd ..
mv spark-deepin-wine-runner*.pkg.tar.zst ../spark-deepin-wine-runner.pkg.tar.zst mv spark-deepin-wine-runner*.pkg.tar.zst ../spark-deepin-wine-runner.pkg.tar.zst
- name: upload result - name: upload result
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: spark-deepin-wine-runner.pkg.tar.zst name: spark-deepin-wine-runner.pkg.tar.zst
path: spark-deepin-wine-runner.pkg.tar.zst path: spark-deepin-wine-runner.pkg.tar.zst

View File

@ -8,10 +8,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Building DEB - name: Building DEB
env:
GUSER: ${{ secrets.GUSER }}
PASSWORD: ${{ secrets.PASSWORD }}
UPLOADURL: ${{ secrets.UPLOADURL }}
run: | run: |
# 配置环境 # 配置环境
sudo apt update sudo apt update
@ -22,14 +18,24 @@ jobs:
mv spark-deepin-wine-runner.deb ~ mv spark-deepin-wine-runner.deb ~
mv spark-deepin-wine-runner-ace.deb ~ mv spark-deepin-wine-runner-ace.deb ~
- name: upload result - name: upload result
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: spark-deepin-wine-runner.deb name: spark-deepin-wine-runner.deb
path: /home/runner/spark-deepin-wine-runner.deb path: /home/runner/spark-deepin-wine-runner.deb
- name: upload result - name: upload result
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: spark-deepin-wine-runner-ace.deb name: spark-deepin-wine-runner-ace.deb
path: /home/runner/spark-deepin-wine-runner-ace.deb path: /home/runner/spark-deepin-wine-runner-ace.deb
- name: Building DEB (termux)
run: |
cd deep-wine-runner
make package-deb-termux -j4
mv spark-deepin-wine-runner-termux.deb ~
- name: upload result
uses: actions/upload-artifact@v3
with:
name: spark-deepin-wine-runner-termux.deb
path: /home/runner/spark-deepin-wine-runner-termux.deb

View File

@ -2615,7 +2615,7 @@ else:
#<h1>©2020~{time.strftime("%Y")} <a href="https://gitee.com/gfdgd-xi">By gfdgd xi</h1>''' #<h1>©2020~{time.strftime("%Y")} <a href="https://gitee.com/gfdgd-xi">By gfdgd xi</h1>'''
updateThings = "{} 更新内容:\n{}\n更新时间:{}".format(version, updateThingsString, updateTime, time.strftime("%Y")) updateThings = "{} 更新内容:\n{}\n更新时间:{}".format(version, updateThingsString, updateTime, time.strftime("%Y"))
try: try:
threading.Thread(target=requests.get, args=[parse.unquote(base64.b64decode("aHR0cDovLzEyMC4yNS4xNTMuMTQ0L3NwYXJrLWRlZXBpbi13aW5lLXJ1bm5lci9vcGVuL0luc3RhbGwucGhw").decode("utf-8")) + "?Version=" + version]).start() threading.Thread(target=requests.get, args=[parse.unquote(base64.b64decode("aHR0cHM6Ly9zb3VyY2Vmb3JnZS5uZXQvcHJvamVjdHMvZGVlcC13aW5lLXJ1bm5lci13aW5lLWRvd25sb2FkL2ZpbGVzL29wZW4tdGltZS8=").decode("utf-8")) + version + base64.b64decode("L2Rvd25sb2Fk").decode("utf-8")]).start()
except: except:
pass pass
iconListUnBuild = json.loads(readtxt(f"{programPath}/IconList.json"))[0] iconListUnBuild = json.loads(readtxt(f"{programPath}/IconList.json"))[0]