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