How to programmatically publish GitHub Action to the Marketplace?

I use octokit.repos.createRelease function from @octokit/rest (a wrapper around GitHub REST APIs). The release is created successfully, but it does not appear in the Marketplace.