added pacman builds - fixes #3761

This commit is contained in:
Eugene Pankov 2021-05-02 20:02:46 +02:00
parent fe8dd891b4
commit 1b1127ab28
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4
3 changed files with 16 additions and 5 deletions

View file

@ -57,6 +57,8 @@ jobs:
mv dist/*.deb artifact-deb/ || true mv dist/*.deb artifact-deb/ || true
mkdir artifact-rpm mkdir artifact-rpm
mv dist/*.rpm artifact-rpm/ || true mv dist/*.rpm artifact-rpm/ || true
mkdir artifact-pacman
mv dist/*.pacman artifact-pacman/ || true
mkdir artifact-snap mkdir artifact-snap
mv dist/*.snap artifact-snap/ || true mv dist/*.snap artifact-snap/ || true
mkdir artifact-tar.gz mkdir artifact-tar.gz
@ -65,19 +67,25 @@ jobs:
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@master
name: Upload DEB name: Upload DEB
with: with:
name: Linux .deb name: Linux DEB
path: artifact-deb path: artifact-deb
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@master
name: Upload RPM name: Upload RPM
with: with:
name: Linux .rpm name: Linux RPM
path: artifact-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 - uses: actions/upload-artifact@master
name: Upload Snap name: Upload Snap
with: with:
name: Linux .snap name: Linux Snap
path: artifact-snap path: artifact-snap
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@master

View file

@ -86,9 +86,12 @@ deb:
- libxtst6 - libxtst6
- libnss3 - libnss3
afterInstall: build/linux/after-install.tpl afterInstall: build/linux/after-install.tpl
pacman:
depends:
- gnome-keyring
- libsecret
rpm: rpm:
depends: depends:
- screen
- gnome-keyring - gnome-keyring
fpm: fpm:
- '--rpm-rpmbuild-define' - '--rpm-rpmbuild-define'

View file

@ -7,7 +7,7 @@ const isCI = !!process.env.GITHUB_REF
builder({ builder({
dir: true, dir: true,
linux: ['deb', 'tar.gz', 'rpm'], linux: ['deb', 'tar.gz', 'rpm', 'pacman'],
config: { config: {
extraMetadata: { extraMetadata: {
version: vars.version, version: vars.version,