mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
Prospective fix for windows artifact directory structure
GH action's upload-artifact strips the provided path
This commit is contained in:
parent
15d87cd917
commit
dc34cb33e3
1 changed files with 11 additions and 8 deletions
19
.github/workflows/sixtyfps_viewer_binary.yaml
vendored
19
.github/workflows/sixtyfps_viewer_binary.yaml
vendored
|
@ -38,26 +38,29 @@ jobs:
|
|||
args: --verbose --no-default-features --features sixtyfps-backend-qt --release -p sixtyfps-viewer
|
||||
- name: Create artifact directory
|
||||
run: |
|
||||
mkdir pkg
|
||||
cd pkg
|
||||
mkdir sixtyfps-viewer
|
||||
cd sixtyfps-viewer
|
||||
mkdir bin
|
||||
cp ..\target/release/sixtyfps-viewer.exe bin/
|
||||
cp ..\..\Qt\5.15.2\msvc2019_64\bin/Qt5Core.dll bin/
|
||||
cp ..\..\Qt\5.15.2\msvc2019_64\bin/Qt5Gui.dll bin/
|
||||
cp ..\..\Qt\5.15.2\msvc2019_64\bin/Qt5Widgets.dll bin/
|
||||
cp ..\..\target/release/sixtyfps-viewer.exe bin/
|
||||
cp ..\..\..\Qt\5.15.2\msvc2019_64\bin/Qt5Core.dll bin/
|
||||
cp ..\..\..\Qt\5.15.2\msvc2019_64\bin/Qt5Gui.dll bin/
|
||||
cp ..\..\..\Qt\5.15.2\msvc2019_64\bin/Qt5Widgets.dll bin/
|
||||
mkdir bin\plugins\platforms
|
||||
cp ..\..\Qt\5.15.2\msvc2019_64\plugins\platforms\qwindows.dll bin/plugins/platforms
|
||||
cp ..\..\..\Qt\5.15.2\msvc2019_64\plugins\platforms\qwindows.dll bin/plugins/platforms
|
||||
mkdir bin\plugins\styles
|
||||
cp ..\..\Qt\5.15.2\msvc2019_64\plugins\styles\qwindowsvistastyle.dll bin/plugins/styles
|
||||
cp ..\..\..\Qt\5.15.2\msvc2019_64\plugins\styles\qwindowsvistastyle.dll bin/plugins/styles
|
||||
cd ..
|
||||
./scripts/prepare_binary_package.sh sixtyfps-viewer ..\Qt 5.15.2
|
||||
cd ..
|
||||
./scripts/prepare_binary_package.sh pkg\sixtyfps-viewer ..\Qt 5.15.2
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: sixtyfps-viewer-windows
|
||||
path: |
|
||||
sixtyfps-viewer
|
||||
pkg
|
||||
|
||||
build_linux:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue