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 daa526a commit 16e9447
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +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 }}"
echo "Ref_name: ${{ github.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 16e9447

Please sign in to comment.