mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-18 18:04:40 +00:00
Add inspecting tool and fix CI cache generation
This commit is contained in:
6
.github/workflows/build_orca.yml
vendored
6
.github/workflows/build_orca.yml
vendored
@@ -305,9 +305,10 @@ jobs:
|
||||
if: runner.os == 'Windows'
|
||||
shell: pwsh
|
||||
run: |
|
||||
$tool = Get-ChildItem -Recurse -Path build -Filter "generate_system_cache.exe" | Select-Object -First 1
|
||||
$profiles = Get-ChildItem -Recurse -Path build -Directory -Filter profiles |
|
||||
Where-Object { $_.FullName -match 'resources' } | Select-Object -First 1
|
||||
.\build\src\Release\generate_system_cache.exe --path $profiles.FullName --log_level 2
|
||||
& $tool.FullName --path $profiles.FullName --log_level 2
|
||||
|
||||
- name: Create installer Win
|
||||
if: runner.os == 'Windows' && !vars.SELF_HOSTED
|
||||
@@ -421,7 +422,8 @@ jobs:
|
||||
if: runner.os == 'Linux'
|
||||
shell: bash
|
||||
run: |
|
||||
./build/src/Release/generate_system_cache --path build/package/resources/profiles --log_level 2
|
||||
tool=$(find build -name generate_system_cache -type f | head -1)
|
||||
"$tool" --path build/package/resources/profiles --log_level 2
|
||||
# Re-pack the AppImage so the cache is included
|
||||
appimage=$(find build -maxdepth 1 -name "OrcaSlicer_Linux_AppImage*.AppImage" | head -1)
|
||||
chmod +x "$appimage"
|
||||
|
||||
Reference in New Issue
Block a user