Reputation: 13846
Running in a different OS, but actually macOS: https://github.com/vmactions/solaris-vm
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, macos-10.15]
name: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: SunOS deps
id: build_test
uses: vmactions/[email protected]
with:
prepare: pkgutil -y -i cmake
if: matrix.os == 'macos-10.15'
Which makes:
How do I make it appear as "SunOS" then "macOS" in the sidebar?
Upvotes: 1
Views: 426
Reputation: 19842
How about making name like this:
name: ${{ matrix.os == 'macos-10.15' && 'SunOS' || matrix.os }}
Upvotes: 1