Skip to content

Commit aff760d

Browse files
committed
please just work
1 parent 70708ae commit aff760d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/create-pack.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
steps:
77
- uses: actions/checkout@v2
88

9-
- name: Get Branch
10-
id: branch
11-
run: echo "git_branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_BRANCH
9+
- name: Get branch name
10+
id: branch-name
11+
uses: tj-actions/branch-names@v5.2
1212

1313
- name: Creating Pack
1414
uses: appleboy/ssh-action@master
@@ -18,4 +18,4 @@ jobs:
1818
PORT: ${{ secrets.PORT }}
1919
KEY: ${{ secrets.SSH }}
2020
script: |
21-
echo "asdf ${{ env.branch }} hhhhhhh"
21+
echo "asdf ${{ steps.branch-name.outputs.current_branch }} hhhhhhh"

0 commit comments

Comments
 (0)