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

View File

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