Skip to content

Commit 8a1b9cc

Browse files
committed
Update deploy-qt-app.yml to fix file paths and commands
1 parent dc637ee commit 8a1b9cc

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/deploy-qt-app.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,35 +44,31 @@ jobs:
4444
scoop bucket add extras
4545
scoop install nsis
4646
47-
#
48-
# Compile application
49-
#
47+
5048
- name: Compile
5149
run: |
5250
make build-release
5351
54-
#
55-
# Copy Qt DLLs, compiler runtime & application icon
56-
#
52+
5753
- name: Deploy
5854
run: |
5955
make install DESTDIR=release
60-
windeployqt --dir= release --compiler-runtime
56+
windeployqt --dir=release --compiler-runtime
6157
mkdir Banking_System_Client
62-
move release Banking_System_Client
58+
Move-Item -Path release/* -Destination Banking_System_Client
6359
6460
#
6561
# Create NSIS installer
6662
#
6763
- name: Make NSIS installer
6864
run: |
69-
move Banking_System_Client deploy\windows\nsis\
65+
Move-Item -Path Banking_System_Client -Destination deploy\windows\nsis\
7066
cd deploy\windows\nsis
7167
makensis /X"SetCompressor /FINAL lzma" setup.nsi
72-
ren *.exe Banking_System_Client-1.0.0-Windows.exe
68+
Rename-Item -Path *.exe -NewName Banking_System_Client-1.0.0-Windows.exe
7369
7470
- name: Upload NSIS installer
7571
uses: actions/upload-artifact@v2
7672
with:
7773
name: Banking_System_Client-1.0.0-Windows.exe
78-
path: deploy/windows/nsis/Banking_System_Client-1.0.0-Windows.exe
74+
path: deploy/windows/nsis/Banking_System_Client-1.0.0-Windows.exe

0 commit comments

Comments
 (0)