add release action (#828)
add release action (#828)

Summary:
This diff adds a release workflow to our GitHub actions.

The release workflow will be publishing a weekly release whenever tagit create a tag.

It will attempts to build for all three platforms and upload the binary to that release. It only uploads when the build is succeeded and pass the tests (3 times retry chance).

Pull Request resolved: https://github.com/facebook/watchman/pull/828

Test Plan:
Check: https://github.com/fanzeyi/watchman/actions/runs/161353508
https://github.com/fanzeyi/watchman/releases/tag/v39492

This run has made releases for all platforms.

Reviewed By: wez

Differential Revision: D22128498

Pulled By: fanzeyi

fbshipit-source-id: 8b58306e28c2a8cbdb1edf9294ab37389c81d4e4

facebook/watchman,facebook/watchman,facebook/watchman,nodakai/watchman,facebook/watchman,nodakai/watchman,nodakai/watchman,facebook/watchman,facebook/watchman,nodakai/watchman,nodakai/watchman,nodakai/watchman,facebook/watchman,facebook/watchman,facebook/watchman,nodakai/watchman,nodakai/watchman,nodakai/watchman