Update workflows
This commit is contained in:
parent
89c3ea8311
commit
38c75dc8c5
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -15,6 +15,11 @@ on:
|
|||||||
description: 'Skip running unit tests'
|
description: 'Skip running unit tests'
|
||||||
required: false
|
required: false
|
||||||
default: true
|
default: true
|
||||||
|
build_deb:
|
||||||
|
type: boolean
|
||||||
|
description: 'Build Debian package'
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
windows:
|
windows:
|
||||||
@ -31,6 +36,7 @@ jobs:
|
|||||||
|
|
||||||
linux_deb:
|
linux_deb:
|
||||||
needs: [linux]
|
needs: [linux]
|
||||||
|
if: inputs.build_deb
|
||||||
uses: ./.github/workflows/build-deb.yml
|
uses: ./.github/workflows/build-deb.yml
|
||||||
with:
|
with:
|
||||||
version: ${{ needs.linux.outputs.version }}
|
version: ${{ needs.linux.outputs.version }}
|
||||||
|
|||||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -33,6 +33,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version_override: ${{ needs.prerelease.outputs.version }}
|
version_override: ${{ needs.prerelease.outputs.version }}
|
||||||
run_unit_tests: false
|
run_unit_tests: false
|
||||||
|
build_deb: true
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: [prerelease,build]
|
needs: [prerelease,build]
|
||||||
@ -50,7 +51,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
with:
|
with:
|
||||||
tag_name: '${{ github.ref }}'
|
tag_name: '${{ github.ref }}'
|
||||||
release_name: 'Libation ${{ steps.version.outputs.version }}'
|
release_name: 'Libation ${{ needs.prerelease.outputs.version }}'
|
||||||
body: <Put a body here>
|
body: <Put a body here>
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|||||||
3
.github/workflows/scripts/targz2deb.sh
vendored
3
.github/workflows/scripts/targz2deb.sh
vendored
@ -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/Hangover /usr/bin/hangover
|
||||||
ln -s /usr/lib/libation/LibationCli /usr/bin/libationcli
|
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
|
# workaround until this file is moved to the user's home directory
|
||||||
touch /usr/lib/libation/appsettings.json
|
touch /usr/lib/libation/appsettings.json
|
||||||
chmod 666 /usr/lib/libation/appsettings.json
|
chmod 666 /usr/lib/libation/appsettings.json
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user