allow build of linux version
This commit is contained in:
parent
01f0d2702f
commit
0907480386
2 changed files with 17 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -40,7 +40,8 @@
|
|||
{
|
||||
"name": "@electron-forge/maker-zip",
|
||||
"platforms": [
|
||||
"win32"
|
||||
"win32",
|
||||
"linux"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue