feat(workflows): remove console

This commit is contained in:
mack-a
2025-08-19 21:54:01 +08:00
parent 84466cfff9
commit 5af1423a0a

View File

@@ -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