Skip to content

Test PR profile validator #666

Test PR profile validator

Test PR profile validator #666

Workflow file for this run

name: Check profiles
on:
pull_request:
branches:
- main
paths:
- 'resources/profiles/**'
- ".github/workflows/check_profiles.yml"
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
jobs:
check_translation:
name: Check profiles
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
# download
# - name: Download
# working-directory: ${{ github.workspace }}
# run: |
# curl -LJO https://github.com/SoftFever/Orca_tools/releases/download/1/OrcaSlicer_profile_validator
# chmod +x ./OrcaSlicer_profile_validator
# validate profiles
- name: validate system profiles
run: |
${{ github.workspace }}/resources/profiles/OrcaSlicer_profile_validator.exe -p ${{ github.workspace }}/resources/profiles -l 999
# - name: validate custom presets
# working-directory: ${{ github.workspace }}
# run: |
# curl -LJO https://github.com/SoftFever/OrcaSlicer/releases/download/nightly-builds/orca_custom_preset_tests.zip
# unzip ./orca_custom_preset_tests.zip -d ${{ github.workspace }}/resources/profiles
# ./OrcaSlicer_profile_validator -p ${{ github.workspace }}/resources/profiles -l 999