mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
chore(action): fix sponsors action; (#6556)
This commit is contained in:
@@ -58,6 +58,7 @@ const updateReadmeSponsors = async (url, path, marker = '<!--<div>marker</div>--
|
|||||||
|
|
||||||
await exec(`echo "tag=${newContent ? 'true' : 'false'}" >> $GITHUB_OUTPUT`);
|
await exec(`echo "tag=${newContent ? 'true' : 'false'}" >> $GITHUB_OUTPUT`);
|
||||||
if (newContent !== false) {
|
if (newContent !== false) {
|
||||||
|
await fs.mkdir('./temp').catch(() => {});
|
||||||
await fs.writeFile('./temp/sponsors.md', newContent);
|
await fs.writeFile('./temp/sponsors.md', newContent);
|
||||||
}
|
}
|
||||||
})('https://spontaneous-creponne-3ff312.netlify.app/data/sponsors.md');
|
})('https://spontaneous-creponne-3ff312.netlify.app/data/sponsors.md');
|
||||||
|
|||||||
Reference in New Issue
Block a user