Revert "remove the action related deprecation warnings"

This reverts commit abbd7e14f8c0ddc53f5d3d13a5eb80d71d41d2e1.