feat: Add Gitea Actions workflow to build and release the Electron application for Linux and Windows.
Some checks failed
Build and Release / build-and-release (push) Failing after 34m5s
Some checks failed
Build and Release / build-and-release (push) Failing after 34m5s
This commit is contained in:
@@ -16,11 +16,17 @@ jobs:
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Cache Wine apt packages
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /var/cache/apt/archives
|
||||
key: wine-apt-${{ runner.os }}
|
||||
|
||||
- name: Install Wine (for Windows cross-compile)
|
||||
run: |
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y wine64 wine32
|
||||
sudo apt-get install -y wine64 wine32 xvfb
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@@ -37,7 +43,7 @@ jobs:
|
||||
run: |
|
||||
cd Frontend/Electron
|
||||
npm run build
|
||||
npx electron-builder --linux --win
|
||||
xvfb-run npx electron-builder --linux --win
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.CI_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user