Skip to content

Commit

Permalink
Fixed no-exception case in publish workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Dec 6, 2022
1 parent 4f4e14d commit f4b393e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ jobs:
with:
result-encoding: string
script: |
var resp
try {
const resp = await github.rest.git.getRef({
resp = await github.rest.git.getRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "heads/${{ steps.set-stable-branch.outputs.result }}",
Expand Down

0 comments on commit f4b393e

Please sign in to comment.