From 0b5bf7e6b04cb6e8337d28e533cdc371907db46c Mon Sep 17 00:00:00 2001 From: Preston Date: Wed, 27 May 2020 19:01:44 -0400 Subject: [PATCH] Add Linux .zip artifact to CI Build --- .github/workflows/build.yml | 12 +++++++++--- _scripts/build.js | 8 ++++---- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2f1ec9df..d335b46b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/_scripts/build.js b/_scripts/build.js index 3249e3bb..621d3b5b 100644 --- a/_scripts/build.js +++ b/_scripts/build.js @@ -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: {