I’m trying to build a C# documentation for docfx but because I need to use msbuild the generation fails on ubuntu-latest
so I need to use windows-*
but I have a small problem where some containers are not supported on windows images.
Is there a way to run a step on a separate image while keeping the same files modified by the first images?
As an example:
- steps:
- name: Windows only action
run: echo "This file is created with windows" > file.txt
- name: Linux only action
run: echo "This line is added by ubuntu" >> file.txt