2024-02-02 13:49:01 +08:00
|
|
|
|
name: Auto Building Wine Runner(rpm)
|
|
|
|
|
run-name: ${{ github.actor }} Auto Building Wine Runner(rpm) 🚀
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
jobs:
|
|
|
|
|
Explore-GitHub-Actions:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- name: Building RPM
|
|
|
|
|
env:
|
|
|
|
|
GUSER: ${{ secrets.GUSER }}
|
|
|
|
|
PASSWORD: ${{ secrets.PASSWORD }}
|
|
|
|
|
UPLOADURL: ${{ secrets.UPLOADURL }}
|
|
|
|
|
run: |
|
|
|
|
|
# 配置环境
|
|
|
|
|
sudo apt update
|
|
|
|
|
sudo apt install git dpkg-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qt5-qmake rpm -y
|
|
|
|
|
git clone https://github.com/gfdgd-xi/deep-wine-runner
|
|
|
|
|
cd deep-wine-runner
|
|
|
|
|
make package-rpm
|
|
|
|
|
mv spark-deepin-wine-runner*.rpm /home/runner/spark-deepin-wine-runner.rpm
|
|
|
|
|
- name: upload result
|
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
|
with:
|
2024-02-02 18:07:06 +08:00
|
|
|
|
name: spark-deepin-wine-runner.rpm
|
2024-02-02 13:49:01 +08:00
|
|
|
|
path: /home/runner/spark-deepin-wine-runner.rpm
|
|
|
|
|
|
|
|
|
|
|