Skip to content

Commit

Permalink
Add Wine stable to Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kron4ek committed Jul 20, 2023
1 parent f635ab4 commit b22c923
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/wine-stable.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b22c923

Please sign in to comment.