Fix linux build casing, remove zip step on Windows

This commit is contained in:
2023-09-22 23:18:15 -05:00
parent fa6bcc09e2
commit b326d73768

View File

@@ -47,7 +47,7 @@ jobs:
- name: Package artifacts with linuxdeployqt - name: Package artifacts with linuxdeployqt
run: | run: |
mkdir -p appdir/usr/bin/ mkdir -p appdir/usr/bin/
mv ./build/testtaker appdir/usr/bin/ mv ./build/TestTaker appdir/usr/bin/
export VERSION=0.0.1-linux # linuxdeployqt uses this for naming the package export VERSION=0.0.1-linux # linuxdeployqt uses this for naming the package
echo "Version is: ${VERSION}" echo "Version is: ${VERSION}"
./linuxdeployqt-continuous-x86_64.AppImage --appimage-extract-and-run appdir/usr/share/applications/*.desktop \ ./linuxdeployqt-continuous-x86_64.AppImage --appimage-extract-and-run appdir/usr/share/applications/*.desktop \
@@ -56,7 +56,7 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: testtaker-linux-appimage name: TestTaker-linux-appimage
path: TestTaker*.AppImage path: TestTaker*.AppImage
windows: windows:
@@ -99,9 +99,9 @@ jobs:
mv '${{github.workspace}}'/build/TestTaker.exe . mv '${{github.workspace}}'/build/TestTaker.exe .
windeployqt.exe -svg --release --no-compiler-runtime --no-opengl-sw --no-translations TestTaker.exe windeployqt.exe -svg --release --no-compiler-runtime --no-opengl-sw --no-translations TestTaker.exe
7z a -r ../${APPNAME} * # 7z a -r ../${APPNAME} *
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: testtaker-windows name: TestTaker-windows
path: ${{ env.APPNAME }} path: packageDir/*