rust/.github/actions/github-release
2021-12-28 11:03:54 +02:00
..
action.yml Nightly binary releases 2020-03-04 17:18:37 +01:00
Dockerfile Nightly binary releases 2020-03-04 17:18:37 +01:00
main.js Set a timeout on the Octokit client 2021-12-28 11:03:54 +02:00
package.json Improve github-release action 2021-12-22 21:30:56 +02:00
README.md Nightly binary releases 2020-03-04 17:18:37 +01:00

github-release

Copy-pasted from 8acfdbdd8a/.github/actions/github-release

An action used to publish GitHub releases for wasmtime.

As of the time of this writing there's a few actions floating around which perform github releases but they all tend to have their set of drawbacks. Additionally nothing handles deleting releases which we need for our rolling dev release.

To handle all this this action rolls-its-own implementation using the actions/toolkit repository and packages published there. These run in a Docker container and take various inputs to orchestrate the release from the build.

More comments can be found in main.js.

Testing this is really hard. If you want to try though run npm install and then node main.js. You'll have to configure a bunch of env vars though to get anything reasonably working.