Skip to content

Commit 757b216

Browse files
authored
Fix package version from build-action (#381)
1 parent b466a64 commit 757b216

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
qmake6 --version
9292
qmake6 -query QT_INSTALL_LIBS
9393
mkdir -p build && cd build
94-
qmake6 "../src/${APP_NAME}.pro" CONFIG+="$BUILD_TYPE" CONFIG+=static
94+
qmake6 "../src/${APP_NAME}.pro" CONFIG+="$BUILD_TYPE" CONFIG+=static PACKAGE_VERSION="${{ env.PACKAGE_VERSION }}"
9595
make "-j$(nproc)"
9696
9797
- name: Prepare AppDir for AppImage
@@ -190,7 +190,7 @@ jobs:
190190
- name: Compile
191191
run: |
192192
mkdir -p build && cd build/
193-
qmake "../src/${{ env.APP_NAME }}.pro" CONFIG+="${{ env.BUILD_TYPE }}"
193+
qmake "../src/${{ env.APP_NAME }}.pro" CONFIG+="${{ env.BUILD_TYPE }}" PACKAGE_VERSION="${{ env.PACKAGE_VERSION }}"
194194
make "-j$(sysctl -n hw.ncpu)"
195195
196196
- name: Deploy
@@ -334,7 +334,7 @@ jobs:
334334
run: |
335335
MKDIR build
336336
CD build
337-
qmake "../src/${{ env.APP_NAME }}.pro" CONFIG+="${{ env.BUILD_TYPE }}"
337+
qmake "../src/${{ env.APP_NAME }}.pro" CONFIG+="${{ env.BUILD_TYPE }}" PACKAGE_VERSION="${{ env.PACKAGE_VERSION }}"
338338
mingw32-make -j4
339339
340340
- name: Deploy with windeployqt

0 commit comments

Comments
 (0)