We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e58be97 commit 8bb5e14Copy full SHA for 8bb5e14
1 file changed
.github/workflows/dockerimage.yml
@@ -61,13 +61,13 @@ jobs:
61
with:
62
script: |
63
const { VERSION } = process.env
64
- github.rest.repos.getReleaseByTag({
+ return github.rest.repos.getReleaseByTag({
65
owner: context.repo.owner,
66
repo: context.repo.repo,
67
tag: `v${VERSION}`,
68
}).then(function(result) {
69
- core.info(`Release v${VERSION} found`)
70
- return result.name
+ core.info(`Release ${result.data.name} found`)
+ return result.data.name
71
}).catch(function(error) {
72
if (error.status === 404) {
73
core.info(`Release v${VERSION} not found`)
0 commit comments