From b006e6809d8679b89186d8ab59a327031f81aca2 Mon Sep 17 00:00:00 2001 From: Cameron Maloney Date: Mon, 13 May 2024 11:07:29 -0700 Subject: [PATCH] Update develop.yml --- .github/workflows/develop.yml | 36 +++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 8c869355..1d41b194 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -22,19 +22,47 @@ jobs: with: activate-environment: default environment-file: api/environment.yml + + - name: Set up Wine + uses: actions/setup-node@v2 + with: + node-version: "14" + + - name: Install Wine64 + 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: + fetch-depth: 2 + + - name: ⎔ Setup Node + uses: actions/setup-node@v3 + with: + cache: "npm" - - name: 🏗️ Build + - name: 🟨 Setup Python + uses: actions/setup-python@v3 + + - name: 📦 Install dependencies + run: npm install + + - name: 🏗️ Create python exe run: | pip install pyinstaller pyinstaller api/app.py - npm install - - name: 📦 Electron Builder run: npm run electron:package:win env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + - name: Get latest release number id: get_latest_release uses: actions/github-script@v4