We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03db08b commit 0364563Copy full SHA for 0364563
.github/workflows/image.yaml
@@ -24,13 +24,13 @@ jobs:
24
run: |
25
raw=$(git branch -r --contains ${{ github.ref }})
26
branch="$(echo ${raw//origin\//} | tr -d '\n')"
27
- echo "{name}=branch" >> $GITHUB_OUTPUT
+ echo "branch=$branch" >> $GITHUB_OUTPUT
28
echo "Branches where this tag exists : $branch."
29
30
image:
31
runs-on: ubuntu-latest
32
needs: check-current-branch
33
- if: contains(${{ needs.check.outputs.branch }}, 'main')`
+ if: contains(needs.check-current-branch.outputs.branch, 'main')
34
steps:
35
- name: Check out the repo
36
uses: actions/checkout@v4
0 commit comments