From c300fa2d9d3a9e129d6ade880cc9492c9b6ee3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thau=C3=A3=20Magalh=C3=A3es?= Date: Sat, 6 Apr 2024 06:24:08 -0300 Subject: [PATCH] chore: main workflow updated to instal wine 32 --- .github/workflows/main.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c588037b..ae5cd2eb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -102,6 +102,12 @@ jobs: - name: Install Wine run: sudo apt update && sudo apt install wine64 + - name: Install Wine32 + run: | + sudo dpkg --add-architecture i386 + sudo apt-get update + sudo apt-get install wine32 + - name: ⬇️ Checkout repo uses: actions/checkout@v4 with: @@ -123,7 +129,7 @@ jobs: #- name: 📦 Electron Package # run: npx electron-packager . LinguifAI --platform=win32 --arch=x64 --out=dist - + - name: 📦 Electron Builder run: npm run electron:package:win @@ -143,8 +149,8 @@ jobs: console.log(`::set-output name=new_version::${newVersion}`); - name: Rename file - run: mv .dist/LinguifAI\ Setup\ 0.1.0.exe .dist/LinguifAI\ Setup\ ${{ steps.get_latest_release.outputs.new_version }}.exe - + run: mv .dist/LinguifAI\ Setup\ 0.1.0.exe .dist/LinguifAI\ Setup\ ${{ steps.get_latest_release.outputs.new_version }}.exe + - name: Create Release id: create_release uses: softprops/action-gh-release@v1