#github-actions #hello-world #pipeline #applications #draft #demonstrate #rust

app timvw-hello-rs

hello world application to demonstrate a github actions release pipeline

18 releases

0.1.91 Jun 1, 2022
0.1.88 Jun 1, 2022
0.1.43 May 31, 2022

#186 in Testing

Apache-2.0

9KB

timvw-hello-rs

Repository to experiment with github actions and rust

  1. Create a draft release:
gh workflow run draft_release.yml -f version=0.1.86

This will result in:

  • the creation of a release/0.1.86
  • the creation of a draft github release, v0.1.86
  • addition of assets (compiled application binaries) to the draft release
  1. Publish the draft release:
gh release edit --draft=false v0.1.86

This will result in:

  • the publication of the release, v0.1.86
  • the publication on crates.io
  • the publication of a docker container
  • the publication of an updated hombrew formula
  • the deletion of the release/0.1.86 branch

Development

Test the workflow:

Local development is often faster by using https://github.com/nektos/act

act workflow_dispatch -e sample.event 

No runtime deps