We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70708ae commit aff760dCopy full SHA for aff760d
1 file changed
.github/workflows/create-pack.yml
@@ -6,9 +6,9 @@ jobs:
6
steps:
7
- uses: actions/checkout@v2
8
9
- - name: Get Branch
10
- id: branch
11
- run: echo "git_branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_BRANCH
+ - name: Get branch name
+ id: branch-name
+ uses: tj-actions/branch-names@v5.2
12
13
- name: Creating Pack
14
uses: appleboy/ssh-action@master
@@ -18,4 +18,4 @@ jobs:
18
PORT: ${{ secrets.PORT }}
19
KEY: ${{ secrets.SSH }}
20
script: |
21
- echo "asdf ${{ env.branch }} hhhhhhh"
+ echo "asdf ${{ steps.branch-name.outputs.current_branch }} hhhhhhh"
0 commit comments