Skip to content

chore: change substitution #3

chore: change substitution

chore: change substitution #3

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
- '!main'
jobs:
extract_branch:
runs-on: ubuntu-20.04
steps:
- name: Extract Branch Name
run: |
echo BRANCH_NAME=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} >> $GITHUB_OUTPUT
- name: Echo Branch Name
run: |
echo ${{ env.BRANCH_NAME }}