Skip to content

Commit add7c95

Browse files
committed
Merge branch 'do_release_builds' into origin_master
2 parents eff4637 + 36e0318 commit add7c95

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/linux-ubuntu-20.04-qt5-appimage.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- scripts/docker/**
1313
branches:
1414
- master
15+
workflow_dispatch:
1516

1617
jobs:
1718
build:
@@ -61,9 +62,15 @@ jobs:
6162
echo "--------------------------------------------------------------"
6263
echo "building desktop"
6364
65+
BUILD_EXTRA_ARGS=""
66+
if [ ${GITHUB_EVENT_NAME} == "push" ]; then
67+
echo "Building a release version"
68+
BUILD_EXTRA_ARGS="${BUILD_EXTRA_ARGS} -release"
69+
fi
70+
6471
# now build the appimage
6572
cd ..
66-
bash -e -x subsurface/scripts/build.sh -desktop -create-appdir -build-with-webkit
73+
bash -e -x subsurface/scripts/build.sh -desktop -create-appdir -build-with-webkit ${BUILD_EXTRA_ARGS}
6774
6875
- name: test desktop build
6976
run: |

0 commit comments

Comments
 (0)