diff --git a/.github/workflows/auto-building.yml b/.github/workflows/auto-building.yml new file mode 100644 index 0000000..ccdab08 --- /dev/null +++ b/.github/workflows/auto-building.yml @@ -0,0 +1,30 @@ +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 + sudo apt install git dpkg-dev -y + git clone https://github.com/gfdgd-xi/deep-wine-runner + cd deep-wine-runner + make build + mv spark-deepin-wine-runner.deb ~ + - name: upload result + uses: actions/upload-artifact@v1 + with: + name: spark-deepin-wine-runner.deb + path: /home/runner/spark-deepin-wine-runner.deb + + + \ No newline at end of file diff --git a/Makefile b/Makefile index fe08766..1683395 100755 --- a/Makefile +++ b/Makefile @@ -142,7 +142,7 @@ package: sudo chown -R root:root /tmp/spark-deepin-wine-runner-builder - dpkg -b /tmp/spark-deepin-wine-runner-builder spark-deepin-wine-runner.deb + dpkg-deb -Z xz -b /tmp/spark-deepin-wine-runner-builder spark-deepin-wine-runner.deb sudo rm -rfv /tmp/spark-deepin-wine-runner-builder