feat: add deprecation warning

This commit is contained in:
Peter Evans 2021-05-12 10:26:26 +09:00
parent 670e508eb6
commit 28fa484894
3 changed files with 12 additions and 0 deletions

2
dist/index.js vendored
View file

@ -1063,6 +1063,8 @@ const utils = __importStar(__nccwpck_require__(918));
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
core.warning(`This action's default branch has been renamed to "main"`);
core.warning(`Referencing this action with "@master" is deprecated and will stop working after June 30th 2021`);
const inputs = {
token: core.getInput('token'),
path: core.getInput('path'),