diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 625f0932..44061926 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -57,6 +57,8 @@ jobs: mv dist/*.deb artifact-deb/ || true mkdir artifact-rpm mv dist/*.rpm artifact-rpm/ || true + mkdir artifact-pacman + mv dist/*.pacman artifact-pacman/ || true mkdir artifact-snap mv dist/*.snap artifact-snap/ || true mkdir artifact-tar.gz @@ -65,19 +67,25 @@ jobs: - uses: actions/upload-artifact@master name: Upload DEB with: - name: Linux .deb + name: Linux DEB path: artifact-deb - uses: actions/upload-artifact@master name: Upload RPM with: - name: Linux .rpm + name: Linux RPM path: artifact-rpm + - uses: actions/upload-artifact@master + name: Upload Pacman Package + with: + name: Linux Pacman + path: artifact-pacman + - uses: actions/upload-artifact@master name: Upload Snap with: - name: Linux .snap + name: Linux Snap path: artifact-snap - uses: actions/upload-artifact@master diff --git a/electron-builder.yml b/electron-builder.yml index a4fa1f7a..7f492c66 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -86,9 +86,12 @@ deb: - libxtst6 - libnss3 afterInstall: build/linux/after-install.tpl +pacman: + depends: + - gnome-keyring + - libsecret rpm: depends: - - screen - gnome-keyring fpm: - '--rpm-rpmbuild-define' diff --git a/scripts/build-linux.js b/scripts/build-linux.js index 835ed731..54af943c 100755 --- a/scripts/build-linux.js +++ b/scripts/build-linux.js @@ -7,7 +7,7 @@ const isCI = !!process.env.GITHUB_REF builder({ dir: true, - linux: ['deb', 'tar.gz', 'rpm'], + linux: ['deb', 'tar.gz', 'rpm', 'pacman'], config: { extraMetadata: { version: vars.version,