⚠️ ATTENTION! This is a copy from https://github.com/8T4/c4sharp/tree/main/samples/C4Bank
- Create a github action to publish c4sharp assets as artifacts on workflows using
c4scli
.
There are three jobs on the workflow yml file and their responsibilities are showed bellow:
- Build
- To build the application and save its compilated code on cache
- Test
- Restore compilated code from cache and execute dotnet tests
- C4sharp
- Instal c4scli to generate the artifacts
- Restore compilated code from cache
- Generate c4s artifacts using c4scli command
- Publish artifacts