I'm running a workflow on all Operating systems.
However, there is a specific step that I have to run only on Ubuntu:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Setup Ubuntu
run : export DISPLAY="127.0.0.1:10.0"
if: # --> What should be here? <--
I couldn't find any examples nor explanation on how to run steps on specific OSes.
Can somebody help?