Skip to content

Commit aa55a35

Browse files
committed
fix reference
1 parent c91c79e commit aa55a35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const wait = __webpack_require__(949);
6060
// most @actions toolkit packages have async methods
6161
async function run() {
6262
try {
63-
console.log("::save-state name=test::TestValue");
63+
core.Error("::save-state name=test::TestValue");
6464
}
6565
catch (error) {
6666
core.setFailed(error.message);

dist/post.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ const wait = __webpack_require__(949);
5353
// most @actions toolkit packages have async methods
5454
async function run() {
5555
try {
56-
if (process.env.$STATE_name != 'TestValue') {
56+
if (process.env.STATE_name != 'TestValue') {
5757
core.setFailed(error.message);
5858
}
5959
else {
60-
console.log('The Saved State value is:', process.env.$STATE_name);
60+
core.Error('The Saved State value is:', process.env.STATE_name);
6161
}
6262
}
6363
catch (error) {

0 commit comments

Comments
 (0)