mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 18:15:44 +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:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- if: runner.os == 'ubuntu-latest'
|
- if: matrix.os == 'ubuntu-latest'
|
||||||
name: Lint with dotnet
|
name: Lint with dotnet
|
||||||
run: dotnet format FFMpegCore.sln --severity warn --verify-no-changes
|
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
|
uses: AnimMouse/setup-ffmpeg@ae28d57dabbb148eff63170b6bf7f2b60062cbae # 1.1.0
|
||||||
with:
|
with:
|
||||||
version: 7.1
|
version: 7.1
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
|
|
||||||
- if: runner.os == 'macOS'
|
- if: matrix.os == 'macos-latest'
|
||||||
uses: AnimMouse/setup-ffmpeg@ae28d57dabbb148eff63170b6bf7f2b60062cbae # 1.1.0
|
uses: AnimMouse/setup-ffmpeg@ae28d57dabbb148eff63170b6bf7f2b60062cbae # 1.1.0
|
||||||
with:
|
with:
|
||||||
version: 711
|
version: 711
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue