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