September 17, 2019. 4 minutes read

Cross platform GitHub Action for downloading, extracting, and adding tools to path

Ever since I started to use GitHub Actions, one of the tasks I copy and pasted the most contained the following steps: download a file or an archive containing a statically compiled tool extract if it is an archive copy the target tool to a directory in the path And after an embarrassing number of tries, my jobs would contain a step that would resemble the following (taken from an actual GitHub Action):

Read more

September 2, 2019. 13 minutes read

Building self-contained, single executable .NET Core 3 CLI tools

This is the .NET Core’s first iteration at self-contained binaries. It is not ideal - the resulting size of ~40M is probably way too large for simple applications. But the fact that now we can actually create a global tool with .NET and distribute it without requiring users to install .NET is extremely exciting! Not to mention the ease of packaging applications in containers, and not having to copy tens of files.

August 23, 2019. 8 minutes read

Building Reusable GitHub Actions in TypeScript, using the official toolkit

GitHub Actions now supports CI/CD - and while the workers for Actions come pre-configured with support for lots of programming languages and frameworks, you have the option to use an existing action to configure the environment, or build your own. In this article we will see how to build reusable actions using the Actions toolkit

© Radu M 2020