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 |
@ -15,7 +15,7 @@ export default function getURL(
|
||||
};
|
||||
|
||||
const ext = (os: string): string => {
|
||||
if (os === 'Windows') {
|
||||
if (os === 'windows') {
|
||||
return 'zip';
|
||||
} else {
|
||||
return 'tar.gz';
|
||||
|
@ -5,6 +5,7 @@ import * as main from './main';
|
||||
try {
|
||||
await main.run();
|
||||
} catch (e) {
|
||||
// eslint-ignore-next-line
|
||||
core.setFailed(`Action failed with error ${e.message}`);
|
||||
}
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user