mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 12:55:44 +03:00
produce Appimage packages from github actions
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
064e134569
commit
df7527c310
2 changed files with 19 additions and 2 deletions
17
.github/workflows/linux-appimage.yml
vendored
Normal file
17
.github/workflows/linux-appimage.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
name: Linux Appimage Package
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Linux Appimage Package
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-6.6.3-2
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
- name: Configure, compile and package
|
||||||
|
run: |
|
||||||
|
BUILDNR=${GITHUB_RUN_ID} VERSION_SUFFIX=${GITHUB_HEAD_REF} BUILD_UPDATER=ON DESKTOP_CLIENT_ROOT=`pwd` EXECUTABLE_NAME=nextcloud QT_BASE_DIR=/opt/qt6.6.3 OPENSSL_ROOT_DIR=/usr/local/lib64 /bin/bash -c "./admin/linux/build-appimage.sh"
|
||||||
|
BUILDNR=${GITHUB_RUN_ID} VERSION_SUFFIX=${GITHUB_HEAD_REF} DESKTOP_CLIENT_ROOT=`pwd` /bin/bash -c "./admin/linux/upload-appimage.sh" || echo "Upload failed, however this is an optional step."
|
|
@ -586,7 +586,7 @@ bool SyncJournalDb::checkConnect()
|
||||||
createQuery.bindValue(1, MIRALL_VERSION_MAJOR);
|
createQuery.bindValue(1, MIRALL_VERSION_MAJOR);
|
||||||
createQuery.bindValue(2, MIRALL_VERSION_MINOR);
|
createQuery.bindValue(2, MIRALL_VERSION_MINOR);
|
||||||
createQuery.bindValue(3, MIRALL_VERSION_PATCH);
|
createQuery.bindValue(3, MIRALL_VERSION_PATCH);
|
||||||
createQuery.bindValue(4, MIRALL_VERSION_BUILD);
|
createQuery.bindValue(4, static_cast<qulonglong>(MIRALL_VERSION_BUILD));
|
||||||
if (!createQuery.exec()) {
|
if (!createQuery.exec()) {
|
||||||
return sqlFail(QStringLiteral("Update version"), createQuery);
|
return sqlFail(QStringLiteral("Update version"), createQuery);
|
||||||
}
|
}
|
||||||
|
@ -616,7 +616,7 @@ bool SyncJournalDb::checkConnect()
|
||||||
createQuery.bindValue(1, MIRALL_VERSION_MAJOR);
|
createQuery.bindValue(1, MIRALL_VERSION_MAJOR);
|
||||||
createQuery.bindValue(2, MIRALL_VERSION_MINOR);
|
createQuery.bindValue(2, MIRALL_VERSION_MINOR);
|
||||||
createQuery.bindValue(3, MIRALL_VERSION_PATCH);
|
createQuery.bindValue(3, MIRALL_VERSION_PATCH);
|
||||||
createQuery.bindValue(4, MIRALL_VERSION_BUILD);
|
createQuery.bindValue(4, static_cast<qulonglong>(MIRALL_VERSION_BUILD));
|
||||||
createQuery.bindValue(5, major);
|
createQuery.bindValue(5, major);
|
||||||
createQuery.bindValue(6, minor);
|
createQuery.bindValue(6, minor);
|
||||||
createQuery.bindValue(7, patch);
|
createQuery.bindValue(7, patch);
|
||||||
|
|
Loading…
Reference in a new issue