mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
chore(action): fix sponsors action; (#6554)
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
||||
node-version: 16
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- name: Generate PR
|
||||
- name: Check sponsors updates
|
||||
id: sponsors
|
||||
run: node ./bin/sponsors.js
|
||||
- name: Notify status
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ const updateReadmeSponsors = async (url, path, marker = '<!--<div>marker</div>--
|
||||
};
|
||||
|
||||
(async(url) => {
|
||||
const newContent = await updateReadmeSponsors(url, './Readme.md');
|
||||
const newContent = await updateReadmeSponsors(url, './README.md');
|
||||
|
||||
await exec(`echo "tag=${newContent ? 'true' : 'false'}" >> $GITHUB_OUTPUT`);
|
||||
if (newContent !== false) {
|
||||
|
||||
Reference in New Issue
Block a user