Skip to content

Commit 6496072

Browse files
committed
Merge branch 'releases/v2' of https://github.com/JamesIves/fetch-api-data-action into releases/v2
2 parents 7eab10e + 87cc854 commit 6496072

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/fetch.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ function generateExport({ data, encoding, format, saveLocation, saveName, setOut
7272
yield fs_1.promises.writeFile(file, data, dataEncoding);
7373
(0, core_1.info)(`Saved ${file} 💾`);
7474
if (setOutput) {
75-
(0, core_1.exportVariable)('fetch-api-data', data);
75+
(0, core_1.exportVariable)('fetchApiData', data);
76+
(0, core_1.setOutput)('fetchApiData', data);
7677
}
7778
return constants_1.Status.SUCCESS;
7879
}

lib/lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function run(configuration) {
6969
finally {
7070
(0, core_1.info)(`${status === constants_1.Status.FAILED
7171
? 'There was an error fetching the data. ❌'
72-
: 'The data was succesfully retrieved and saved! ✅ 🚚'}`);
72+
: 'The data was successfully retrieved and saved! ✅ 🚚'}`);
7373
}
7474
});
7575
}

0 commit comments

Comments
 (0)