Skip to content

Commit 7f082e5

Browse files
committed
Fix package version from build-action
1 parent cff6da9 commit 7f082e5

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
@@ -272,7 +272,7 @@ jobs:
272272
run: |
273273
MKDIR build
274274
CD build
275-
qmake "../src/${{ env.APP_NAME }}.pro" CONFIG+="${{ env.BUILD_TYPE }}"
275+
qmake "../src/${{ env.APP_NAME }}.pro" CONFIG+="${{ env.BUILD_TYPE }}" PACKAGE_VERSION="${{ env.PACKAGE_VERSION }}"
276276
mingw32-make -j4
277277
278278
- name: Deploy with windeployqt

0 commit comments

Comments
 (0)