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 4e38ab3 commit 2ede843
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ jobs:
run: |
version=""
if [[ "${{ github.event_name }}" == "push" ]]; then
version="${{ github.event.push.base.ref }}"
version="$GITHUB_REF_NAME"
echo "Version: $version"
echo "Ref_name: ${{ github.event.push.base.ref_name }}"
else
version=${{ github.event.inputs.branch }}
version=${{ inputs.branch }}
echo "Version: $version"
echo "Ref: ${{ github.event.push.base.ref }}"
fi
env | grep sundar

0 comments on commit 2ede843

Please sign in to comment.