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
|
||||
with:
|
||||
script: |
|
||||
console.log(context)
|
||||
const {data:latest} = await github.rest.repos.getLatestRelease({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo
|
||||
}).catch(() => ({ data: null }));
|
||||
console.log(latest)
|
||||
return latest ? latest.tag_name: "";
|
||||
result-encoding: string
|
||||
|
||||
|
|
Loading…
Reference in New Issue