mirror of https://github.com/mack-a/v2ray-agent
feat(workflows): remove console
parent
84466cfff9
commit
5af1423a0a
|
@ -29,12 +29,10 @@ jobs:
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
console.log(context)
|
|
||||||
const {data:latest} = await github.rest.repos.getLatestRelease({
|
const {data:latest} = await github.rest.repos.getLatestRelease({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo
|
repo: context.repo.repo
|
||||||
}).catch(() => ({ data: null }));
|
}).catch(() => ({ data: null }));
|
||||||
console.log(latest)
|
|
||||||
return latest ? latest.tag_name: "";
|
return latest ? latest.tag_name: "";
|
||||||
result-encoding: string
|
result-encoding: string
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue