exp
This commit is contained in:
parent
cb40378ce6
commit
6f924bbb78
2
.github/workflows/publish-release.js
vendored
2
.github/workflows/publish-release.js
vendored
|
@ -22,7 +22,7 @@ module.exports = /*async*/ ({github, context, core}) => {
|
||||||
const ref = await restapi.git.getRef({
|
const ref = await restapi.git.getRef({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
ref: 'refs/heads/release' + version
|
ref: 'heads/release' + version
|
||||||
})
|
})
|
||||||
if (ref == null) {
|
if (ref == null) {
|
||||||
core.setFailed(`Could not find branch 'release/${version}'.`)
|
core.setFailed(`Could not find branch 'release/${version}'.`)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user