Skip to content

Commit

Permalink
Update venus.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ckvsoft authored Oct 25, 2023
1 parent 081ec55 commit 96a074a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/venus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
steps:
- name: Set BRANCH_NAME from github.ref
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/} | sed 's/refs\/pull\/.*\///' | sed 's/\/merge//')"
run: |
BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed 's/refs\/pull\///' | sed 's/\/merge//')
echo "Extracted branch name is $BRANCH_NAME"
echo "::set-output name=branch::$BRANCH_NAME"
- name: Checkout code
uses: actions/checkout@v3
- name: Check for dockerenv file
Expand Down

0 comments on commit 96a074a

Please sign in to comment.