Add Linux .zip artifact to CI Build

This commit is contained in:
Preston 2020-05-27 19:01:44 -04:00
parent 54923acf56
commit 0b5bf7e6b0
2 changed files with 13 additions and 7 deletions

View File

@ -15,7 +15,7 @@ jobs:
matrix:
node-version: [12.x]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
@ -44,15 +44,21 @@ jobs:
with:
name: freetube-vue_0.8.0_amd64.rpm
path: build/freetube-vue-0.8.0.x86_64.rpm
- name: Upload Linux .zip Artifact
uses: actions/upload-artifact@v2
if: startsWith(matrix.os, 'ubuntu')
with:
name: freetube-vue_0.8.0_amd64.zip
path: build/freetube-vue-0.8.0.zip
- name: Upload Windows .exe Artifact
uses: actions/upload-artifact@v2
if: startsWith(matrix.os, 'windows')
with:
name: freetube-vue-0.8.0-win-portable
name: freetube-vue-0.8.0-win-x64-portable
path: build/FreeTube-Vue-0.8.0-win.zip
- name: Upload Windows .zip Artifact
uses: actions/upload-artifact@v2
if: startsWith(matrix.os, 'windows')
with:
name: freetube-vue-0.8.0-setup.exe
name: freetube-vue-0.8.0-setup-x64.exe
path: build/FreeTube-Vue Setup 0.8.0.exe

View File

@ -45,17 +45,17 @@ const config = {
},
},
linux: {
icon: '_icons/icon.png',
target: ['deb', 'rpm', 'AppImage'],
icon: '_icons/iconColor.png',
target: ['deb', 'rpm', 'zip', 'AppImage'],
},
mac: {
category: 'public.app-category.utilities',
icon: '_icons/icon.icns',
icon: '_icons/iconColor.icns',
target: ['dmg', 'zip'],
type: 'distribution',
},
win: {
icon: '_icons/icon.ico',
icon: '_icons/iconColor.ico',
target: ['nsis', 'zip', 'portable', 'squirrel'],
},
nsis: {