From 9a212ca2124b05ff12580b2109e0e4ecc43bb712 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Fri, 26 Jul 2024 20:42:18 +0800 Subject: [PATCH] =?UTF-8?q?arch=E8=87=AA=E5=8A=A8=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E5=B0=9D=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-building-pkg.yml | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/auto-building-pkg.yml diff --git a/.github/workflows/auto-building-pkg.yml b/.github/workflows/auto-building-pkg.yml new file mode 100644 index 0000000..98e3b51 --- /dev/null +++ b/.github/workflows/auto-building-pkg.yml @@ -0,0 +1,32 @@ +name: Auto Building Wine Runner(pkg) +run-name: ${{ github.actor }} Auto Building Wine Runner(pkg) 🚀 +on: + push: + workflow_dispatch: +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + container: archlinux + steps: + - name: Building PKG + env: + GUSER: ${{ secrets.GUSER }} + PASSWORD: ${{ secrets.PASSWORD }} + UPLOADURL: ${{ secrets.UPLOADURL }} + run: | + # 配置环境 + pacman -S debtap git sudo + pacman -S dpkg-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qt5-qmake -y + git clone https://github.com/gfdgd-xi/deep-wine-runner + cd deep-wine-runner + make package-deb -j4 + make package-pkg -j4 + cd .. + mv spark-deepin-wine-runner*.pkg.tar.zst ../spark-deepin-wine-runner.pkg.tar.zst + - name: upload result + uses: actions/upload-artifact@v1 + with: + name: spark-deepin-wine-runner.pkg.tar.zst + path: spark-deepin-wine-runner.pkg.tar.zst + + \ No newline at end of file