exp
This commit is contained in:
parent
5ef1917f61
commit
4bc423721a
17
.github/workflows/publish-release.yml
vendored
17
.github/workflows/publish-release.yml
vendored
|
@ -19,23 +19,6 @@ jobs:
|
||||||
if (rel === null) {
|
if (rel === null) {
|
||||||
core.setFailed("Could not find a release for tag " + tag)
|
core.setFailed("Could not find a release for tag " + tag)
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
try {
|
|
||||||
console.log('X1')
|
|
||||||
const rel = github.repos.getReleaseByTag({
|
|
||||||
owner: context.repo.owner,
|
|
||||||
repo: context.repo.repo,
|
|
||||||
tag: tag
|
|
||||||
})
|
|
||||||
console.log('X2')
|
|
||||||
}
|
|
||||||
catch (error) {
|
|
||||||
console.log('X3')
|
|
||||||
core.setFailed("Could not find a release for tag " + tag)
|
|
||||||
console.log('X4')
|
|
||||||
}
|
|
||||||
console.log('X5')
|
|
||||||
*/
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user