Skip to content

Commit a433797

Browse files
committed
try tmate
1 parent e8672f2 commit a433797

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,12 @@ jobs:
4747
uses: actions/checkout@v2
4848
with:
4949
ref: ${{ env.HEAD_COMMIT }}
50+
- name: Setup tmate session
51+
uses: mxschmitt/action-tmate@v3
5052
- name: Get commit message
51-
run: echo "COMMIT_MESSAGE=$(git log -n 1 --pretty=format:%s $(git rev-parse $GITHUB_HEAD_REF))" >> $GITHUB_ENV
53+
run: |
54+
git rev-parse $GITHUB_HEAD_REF
55+
echo "COMMIT_MESSAGE=$(git log -n 1 --pretty=format:%s $(git rev-parse $GITHUB_HEAD_REF))" >> $GITHUB_ENV
5256
- name: "BRANCH: ${{ github.ref_name }}"
5357
run: echo ""
5458
- name: "COMMIT: ${{ env.COMMIT_MESSAGE }}"

0 commit comments

Comments
 (0)