feat: add deprecation warning

This commit is contained in:
rlespinasse
2021-04-05 19:32:31 +02:00
committed by Romain Lespinasse
parent 242e04c2d2
commit c9eec68e1a
2 changed files with 16 additions and 0 deletions

View File

@@ -18,3 +18,5 @@ short_sha() {
echo "GITHUB_BASE_REF_SLUG=$(slug_ref "$GITHUB_BASE_REF")"
echo "GITHUB_SHA_SHORT=$(short_sha "$GITHUB_SHA")"
} >>"$GITHUB_ENV"
echo "::warning ::This version is deprecated, please use 'rlespinasse/github-slug-action@v3.x' instead"