Closed jacknicklenson closed 10 months ago
- uses: actions/checkout@v3
- if: startsWith(matrix.os, 'ubuntu')
- name: Set the version
shell: bash
run: sudo apt-get install -y pkg-config libx11-dev libxi-dev libgl1-mesa-dev libasound2-dev
+ if: startsWith(matrix.os, 'ubuntu')
You have to add if: startsWith(matrix.os, 'ubuntu')
to a run:
that calls apt-get.
Hi, I want to install some dependencies before compile, but I cannot make it work. Here is my yml file:
When action runs it runs shell command on all OSes and thus it's fail.
How can I install dependencies for specific os before compile & release action happen.