Update workflows

This commit is contained in:
Mbucari 2023-01-12 09:17:08 -07:00 committed by Mbucari
parent 89c3ea8311
commit 38c75dc8c5
3 changed files with 12 additions and 2 deletions

View File

@ -14,7 +14,12 @@ on:
type: boolean
description: 'Skip running unit tests'
required: false
default: true
default: true
build_deb:
type: boolean
description: 'Build Debian package'
required: false
default: false
jobs:
windows:
@ -31,6 +36,7 @@ jobs:
linux_deb:
needs: [linux]
if: inputs.build_deb
uses: ./.github/workflows/build-deb.yml
with:
version: ${{ needs.linux.outputs.version }}

View File

@ -33,6 +33,7 @@ jobs:
with:
version_override: ${{ needs.prerelease.outputs.version }}
run_unit_tests: false
build_deb: true
release:
needs: [prerelease,build]
@ -50,7 +51,7 @@ jobs:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
with:
tag_name: '${{ github.ref }}'
release_name: 'Libation ${{ steps.version.outputs.version }}'
release_name: 'Libation ${{ needs.prerelease.outputs.version }}'
body: <Put a body here>
draft: true
prerelease: false

View File

@ -105,6 +105,9 @@ ln -s /usr/lib/libation/Libation /usr/bin/libation
ln -s /usr/lib/libation/Hangover /usr/bin/hangover
ln -s /usr/lib/libation/LibationCli /usr/bin/libationcli
# Increase the maximum number of inotify instances
echo fs.inotify.max_user_instances=524288 | tee -a /etc/sysctl.conf && sysctl -p
# workaround until this file is moved to the user's home directory
touch /usr/lib/libation/appsettings.json
chmod 666 /usr/lib/libation/appsettings.json