1
0
This commit is contained in:
Stephan 2021-12-10 18:17:13 +01:00
parent 6a103e03a3
commit 4e2e9638b6

View File

@ -11,6 +11,7 @@ jobs:
script: |
console.log('X0')
const tag = "v" + "${{ github.ref }}".substring(19)
try {
const rel = await github.repos.getReleaseByTag({
owner: context.repo.owner,
repo: context.repo.repo,
@ -21,6 +22,10 @@ jobs:
core.setFailed("Could not find a release for tag " + tag)
}
console.log('X2')
}
catch (error) {
console.log('X3')
}
- name: Checkout
uses: actions/checkout@v2