Merge branch 'main' into CURA-11003-add-searchbar-for-offlineprinter

This commit is contained in:
Saumya Jain 2024-04-12 12:32:25 +02:00 committed by GitHub
commit 597a871807
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

View File

@ -39,6 +39,11 @@ jobs:
echo "pr_id=$(cat printer-linter-result/pr-id.txt)" >> $GITHUB_ENV
echo "pr_head_repo=$(cat printer-linter-result/pr-head-repo.txt)" >> $GITHUB_ENV
echo "pr_head_ref=$(cat printer-linter-result/pr-head-ref.txt)" >> $GITHUB_ENV
if [[ -f "printer-linter-result/comment.md" ]]; then
echo "commentFileExists=true" >> $GITHUB_ENV
else
echo "commentFileExists=false" >> $GITHUB_ENV
fi
- uses: actions/checkout@v3
with:
@ -72,16 +77,11 @@ jobs:
mkdir printer-linter-result
unzip printer-linter-result.zip -d printer-linter-result
- name: Get Pull Request Number
id: pr
run: echo "::set-output name=pull_request_number::$(gh pr view --json number -q .number || echo "")"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run PR Comments
if: env.commentFileExists == 'true'
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ steps.pr.outputs.pull_request_number }}
issue-number: ${{ env.pr_id }}
body-path: 'printer-linter-result/comment.md'
- name: Run clang-tidy-pr-comments action

View File

@ -129,7 +129,7 @@ ScrollView
{
id: bedTemperature
containerStack: Cura.MachineManager.activeMachine
key: "material_bed_temperature"
key: "material_bed_temperature_layer_0"
watchedProperties: ["value", "minimum_value", "maximum_value", "resolve"]
storeIndex: 0
}

View File

@ -22,7 +22,7 @@ Item
{
id: extruderTemperature
containerStackId: Cura.ExtruderManager.extruderIds[position]
key: "material_print_temperature"
key: "material_print_temperature_layer_0"
watchedProperties: ["value", "minimum_value", "maximum_value", "resolve"]
storeIndex: 0
}