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 => {
|
||||
if (os === 'windows') {
|
||||
if (os === 'Windows') {
|
||||
return 'zip';
|
||||
} else {
|
||||
return 'tar.gz';
|
||||
|
@ -5,7 +5,6 @@ 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