Skip to content

Commit

Permalink
Testing github ref_name var
Browse files Browse the repository at this point in the history
  • Loading branch information
k8so committed Sep 12, 2024
1 parent 2ede843 commit 49a3568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: sundar-test
on:
push:
branches:
- 'sundarv/**'
- 's/**'
workflow_dispatch:
inputs:
branch:
Expand All @@ -20,7 +20,7 @@ jobs:
if [[ "${{ github.event_name }}" == "push" ]]; then
version="$GITHUB_REF_NAME"
echo "Version: $version"
echo "Ref_name: ${{ github.event.push.base.ref_name }}"
echo "Ref_name: ${{ github.ref_name }}"
else
version=${{ inputs.branch }}
echo "Version: $version"
Expand Down

0 comments on commit 49a3568

Please sign in to comment.