mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
Display short commit name
This commit is contained in:
parent
9f156d186b
commit
8c3d765eb6
1
.github/workflows/sync-linguist.yml
vendored
1
.github/workflows/sync-linguist.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
commit=$(sed --quiet --regexp-extended 's/[[:space:]]+commit[[:space:]]+=[[:space:]]"([a-f0-9]{40})"/\1/p' internal/code-generator/generator/generator_test.go)
|
||||
echo "Previous commit: ${commit::8}"
|
||||
echo "::set-output name=commit::$commit"
|
||||
echo "::set-output name=short_commit::${commit::8}"
|
||||
- uses: actions/checkout@v2
|
||||
|
Loading…
Reference in New Issue
Block a user