mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 01:55:45 +00:00
Switch on matrix.os instead of runner.os
This commit is contained in:
parent
5ba8122d00
commit
7036ad6df2
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -30,17 +30,17 @@ jobs:
|
|||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
|
||||
- if: runner.os == 'ubuntu-latest'
|
||||
- if: matrix.os == 'ubuntu-latest'
|
||||
name: Lint with dotnet
|
||||
run: dotnet format FFMpegCore.sln --severity warn --verify-no-changes
|
||||
|
||||
- if: runner.os != 'macOS'
|
||||
- if: matrix.os != 'macos-latest'
|
||||
uses: AnimMouse/setup-ffmpeg@ae28d57dabbb148eff63170b6bf7f2b60062cbae # 1.1.0
|
||||
with:
|
||||
version: 7.1
|
||||
token: ${{ github.token }}
|
||||
|
||||
- if: runner.os == 'macOS'
|
||||
- if: matrix.os == 'macos-latest'
|
||||
uses: AnimMouse/setup-ffmpeg@ae28d57dabbb148eff63170b6bf7f2b60062cbae # 1.1.0
|
||||
with:
|
||||
version: 711
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue