2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

chore(action): fix sponsors action; (#6557)

This commit is contained in:
Dmitriy Mozgovoy
2024-08-17 22:59:01 +03:00
committed by GitHub
parent d2c3d4183f
commit d93969177d
2 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ const updateReadmeSponsors = async (url, path, marker = '<!--<div>marker</div>--
(async(url) => {
const newContent = await updateReadmeSponsors(url, './README.md');
await exec(`echo "tag=${newContent ? 'true' : 'false'}" >> $GITHUB_OUTPUT`);
await exec(`echo "changed=${newContent ? 'true' : 'false'}" >> $GITHUB_OUTPUT`);
if (newContent !== false) {
await fs.mkdir('./temp').catch(() => {});
await fs.writeFile('./temp/sponsors.md', newContent);