Await response

This commit is contained in:
Martyn Janes
2019-12-19 12:59:46 +01:00
parent d20f1e20e3
commit d2f4691f64
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@@ -10363,7 +10363,7 @@ async function run() {
const tagName = core.getInput('tag_name', { required: true });
const release = github.repos.getReleaseByTag({
const release = await github.repos.getReleaseByTag({
owner,
repo,
tag: tagName.replace('refs/tags/', '')

View File

@@ -10,7 +10,7 @@ async function run() {
const tagName = core.getInput('tag_name', { required: true });
const release = github.repos.getReleaseByTag({
const release = await github.repos.getReleaseByTag({
owner,
repo,
tag: tagName.replace('refs/tags/', '')