Skip to content

Commit

Permalink
chore: main workflow updated to instal wine 32
Browse files Browse the repository at this point in the history
  • Loading branch information
tahaluh committed Apr 6, 2024
1 parent bdae0ad commit c300fa2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

Expand All @@ -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
Expand Down

0 comments on commit c300fa2

Please sign in to comment.