allow build of linux version

This commit is contained in:
Mylloon 2025-04-24 20:45:47 +02:00
parent 01f0d2702f
commit 0907480386
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 17 additions and 5 deletions

View file

@ -13,16 +13,27 @@ jobs:
- name: Install dependencies
run: |
npm install --platform=win32 &&
apt-get update &&
apt-get install -y zip
- name: Build the app
run: npm run make -- --platform=win32
- name: Build the app for Windows
run: |
npm install --platform=win32 &&
npm run make -- --platform=win32
- name: Clear the node packages
run: rm -rf node_modules/ package-lock.json
- name: Build the app for Linux
run: |
npm install --platform=linux &&
npm run make -- --platform=linux
- name: Create release
uses: akkuman/gitea-release-action@v1
with:
token: ${{ secrets.TOKEN }}
files: out/make/zip/win32/x64/dsr-win32-x64-${{ github.ref_name }}.zip
files: |-
out/make/zip/win32/x64/dsr-win32-x64-${{ github.ref_name }}.zip
out/make/zip/win32/x64/dsr-linux-x64-${{ github.ref_name }}.zip
draft: true

View file

@ -40,7 +40,8 @@
{
"name": "@electron-forge/maker-zip",
"platforms": [
"win32"
"win32",
"linux"
]
}
]