2023-07-06 15:29:45 +08:00
|
|
|
name: Auto Building Wine Runner
|
|
|
|
run-name: ${{ github.actor }} Auto Building Wine Runner 🚀
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
Explore-GitHub-Actions:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Building DEB
|
|
|
|
env:
|
|
|
|
GUSER: ${{ secrets.GUSER }}
|
|
|
|
PASSWORD: ${{ secrets.PASSWORD }}
|
|
|
|
UPLOADURL: ${{ secrets.UPLOADURL }}
|
|
|
|
run: |
|
|
|
|
# 配置环境
|
|
|
|
sudo apt update
|
2023-07-06 15:33:15 +08:00
|
|
|
sudo apt install git dpkg-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qt5-qmake -y
|
2023-09-30 10:09:04 +08:00
|
|
|
git clone https://github.com/gfdgd-xi/deep-wine-runner --depth=1
|
2023-07-06 15:29:45 +08:00
|
|
|
cd deep-wine-runner
|
2023-09-30 10:03:12 +08:00
|
|
|
#make build
|
|
|
|
#mv spark-deepin-wine-runner.deb ~
|
2023-09-30 10:09:04 +08:00
|
|
|
sudo apt build-dep . -y
|
2023-09-30 10:03:12 +08:00
|
|
|
dpkg-buildpackage -b
|
2023-09-30 10:09:04 +08:00
|
|
|
cp ../spark-deepin-wine-runner_*.deb ~/spark-deepin-wine-runner.deb
|
2023-07-06 15:29:45 +08:00
|
|
|
- name: upload result
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: spark-deepin-wine-runner.deb
|
|
|
|
path: /home/runner/spark-deepin-wine-runner.deb
|
|
|
|
|
|
|
|
|
|
|
|
|