Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
k8so committed Sep 12, 2024
1 parent 712e482 commit daa526a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
version=""
if [[ "${{ github.event_name }}" == "push" ]]; then
version="${{ github.event.push.base.ref }}"
echo "Ref: ${{ github.event.push.base.ref }}"
echo "Version: $version"
echo "Ref_name: ${{ github.event.push.base.ref_name }}"
else
version=${{ github.event.inputs.branch }}
echo "Version: $version"
echo "Ref: ${{ github.event.push.base.ref }}"
echo "Ref_name: ${{ github.event.push.base.ref_name }}"
fi

0 comments on commit daa526a

Please sign in to comment.