mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-23 21:42:04 +01:00
?
This commit is contained in:
parent
cd56eca96b
commit
fa0008f8e8
3 changed files with 6 additions and 0 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -95344,6 +95344,8 @@ const getLinuxInfo = async () => {
|
||||||
let data = {};
|
let data = {};
|
||||||
try {
|
try {
|
||||||
data = (0,linux_release_info_dist/* releaseInfo */.o)({ mode: "sync" });
|
data = (0,linux_release_info_dist/* releaseInfo */.o)({ mode: "sync" });
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
console.log(data);
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
core.debug(`Error collecting release info: ${e}`);
|
core.debug(`Error collecting release info: ${e}`);
|
||||||
|
|
2
dist/platform.js
generated
vendored
2
dist/platform.js
generated
vendored
|
@ -51,6 +51,8 @@ const getLinuxInfo = async () => {
|
||||||
let data = {};
|
let data = {};
|
||||||
try {
|
try {
|
||||||
data = releaseInfo({ mode: "sync" });
|
data = releaseInfo({ mode: "sync" });
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
console.log(data);
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
core.debug(`Error collecting release info: ${e}`);
|
core.debug(`Error collecting release info: ${e}`);
|
||||||
|
|
|
@ -88,6 +88,8 @@ const getLinuxInfo = async (): Promise<{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
data = releaseInfo({ mode: "sync" });
|
data = releaseInfo({ mode: "sync" });
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
console.log(data);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
core.debug(`Error collecting release info: ${e}`);
|
core.debug(`Error collecting release info: ${e}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue