mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2025-06-18 01:55:29 +08:00
Compare commits
2 Commits
86de519622
...
e2e3457171
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e2e3457171 | ||
![]() |
c8e7c31e3b |
13229
package-lock.json
generated
13229
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -15,7 +15,7 @@ export default function getURL(
|
|||||||
};
|
};
|
||||||
|
|
||||||
const ext = (os: string): string => {
|
const ext = (os: string): string => {
|
||||||
if (os === 'Windows') {
|
if (os === 'windows') {
|
||||||
return 'zip';
|
return 'zip';
|
||||||
} else {
|
} else {
|
||||||
return 'tar.gz';
|
return 'tar.gz';
|
||||||
|
@ -5,6 +5,7 @@ import * as main from './main';
|
|||||||
try {
|
try {
|
||||||
await main.run();
|
await main.run();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
// eslint-ignore-next-line
|
||||||
core.setFailed(`Action failed with error ${e.message}`);
|
core.setFailed(`Action failed with error ${e.message}`);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
Loading…
Reference in New Issue
Block a user