mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-06-26 09:25:24 -06:00
use core instead of echo to set output
This commit is contained in:
parent
ef8f5197eb
commit
200119fe6a
1 changed files with 2 additions and 1 deletions
3
.github/workflows/slicing-error-check.yml
vendored
3
.github/workflows/slicing-error-check.yml
vendored
|
@ -19,6 +19,7 @@ jobs:
|
|||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
const core = require('@actions/core');
|
||||
const issue = context.payload.issue;
|
||||
const issueNumber = issue.number;
|
||||
|
||||
|
@ -45,7 +46,7 @@ jobs:
|
|||
} else {
|
||||
console.log(`Issue #${issueNumber} does not match slicing error criteria. No action needed.`);
|
||||
}
|
||||
console.log(`echo "needs_info=${setNeedsInfoOutput.toString()}" >> $GITHUB_OUTPUT`);
|
||||
core.setOutput('needs_info', setNeedsInfoOutput.toString());
|
||||
|
||||
- name: Add comment if project file is missing
|
||||
if: ${{ steps.check_issue_details.outputs.needs_info == 'true' }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue