Skip to content

Commit 0364563

Browse files
committed
workflow file fix
Signed-off-by: Deggen <d.kellenschwiler@bsvassociation.org>
1 parent 03db08b commit 0364563

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/image.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
run: |
2525
raw=$(git branch -r --contains ${{ github.ref }})
2626
branch="$(echo ${raw//origin\//} | tr -d '\n')"
27-
echo "{name}=branch" >> $GITHUB_OUTPUT
27+
echo "branch=$branch" >> $GITHUB_OUTPUT
2828
echo "Branches where this tag exists : $branch."
2929
3030
image:
3131
runs-on: ubuntu-latest
3232
needs: check-current-branch
33-
if: contains(${{ needs.check.outputs.branch }}, 'main')`
33+
if: contains(needs.check-current-branch.outputs.branch, 'main')
3434
steps:
3535
- name: Check out the repo
3636
uses: actions/checkout@v4

0 commit comments

Comments
 (0)