feat(workflows): remove console
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user