mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-13 01:58:27 +08:00
29 lines
960 B
YAML
29 lines
960 B
YAML
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:
|
||
name: spark-deepin-wine-runner.rpm
|
||
path: /home/runner/spark-deepin-wine-runner.rpm
|
||
|
||
|