chore: Set env variable
This commit is contained in:
parent
425a6c0b1a
commit
ac912276a6
1 changed files with 4 additions and 1 deletions
|
@ -9,4 +9,7 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
- name: Set env
|
||||||
|
run: echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-6)" >> $GITHUB_ENV
|
||||||
|
- name: Test
|
||||||
|
run: echo $GITHUB_SHA_SHORT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue