📝Inform about deprecation of master branch

This patch suggests the users to use `release/v1`.

Resolves #83
This commit is contained in:
Sviatoslav Sydorenko 2022-07-25 17:29:21 +02:00
parent 1bbe3c9926
commit 9b8e7336db
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 9345E8FEA89CA455

View file

@ -2,6 +2,20 @@
set -Eeuo pipefail set -Eeuo pipefail
echo \
::warning file='# >>' PyPA publish to PyPI GHA'%3A' \
UNSUPPORTED GITHUB ACTION VERSION \
'<< ':: \
You are using '"pypa/gh-action-pypi-publish@master"'. \
The '"master"' branch of this project has been sunset and will not \
receive any updates, not even security bug fixes. Please, make \
sure to use a supported version. If you want to pin to v1 major \
version, use '"pypa/gh-action-pypi-publish@release/v1"'. If you \
feel adventurous, you may opt to use use \
'"pypa/gh-action-pypi-publish@unstable/v1"' instead. A more \
general recommendation is to pin to exact tags or commit shas.
if [[ if [[
"$INPUT_USER" == "__token__" && "$INPUT_USER" == "__token__" &&
! "$INPUT_PASSWORD" =~ ^pypi- ! "$INPUT_PASSWORD" =~ ^pypi-