mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2025-06-18 10:05:28 +08:00
Compare commits
2 Commits
e2e3457171
...
86de519622
Author | SHA1 | Date | |
---|---|---|---|
![]() |
86de519622 | ||
![]() |
d4f4260e2e |
@ -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,7 +5,6 @@ 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