From b22c923715e6341b4769670c5371c953ef9f8db3 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Thu, 20 Jul 2023 14:11:49 +0500 Subject: [PATCH] Add Wine stable to Actions --- .github/workflows/wine-stable.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/wine-stable.yml diff --git a/.github/workflows/wine-stable.yml b/.github/workflows/wine-stable.yml new file mode 100644 index 0000000..b30243f --- /dev/null +++ b/.github/workflows/wine-stable.yml @@ -0,0 +1,30 @@ +name: Wine Stable + +on: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Download artifact + id: download-artifact + uses: dawidd6/action-download-artifact@v2 + with: + workflow: bootstraps.yml + workflow_conclusion: success + path: /opt + - name: Build Wine + run: | + sudo apt update + sudo apt install debootstrap perl git wget xz-utils bubblewrap autoconf + sudo tar -C /opt -xpf /opt/Bootstraps/bootstraps.tar.xz + chmod +x build_wine.sh + export WINE_VERSION="$(wget -q -O - "https://gitlab.winehq.org/wine/wine/-/raw/stable/VERSION" | tail -c +14)" + WINE_BRANCH=vanilla ./build_wine.sh + - uses: actions/upload-artifact@v3 + with: + name: Wine Stable + path: ./*.tar.xz