Update ci.yml

Former-commit-id: 46eddd3748
This commit is contained in:
Malte Rosenbjerg 2023-01-28 11:08:55 +01:00
parent dbec950ddb
commit 46b96bc809

View file

@ -1,13 +1,6 @@
name: CI name: CI
on: on:
push:
branches:
- master
paths:
- .github/workflows/ci.yml
- FFMpegCore/**
- FFMpegCore.Test/**
pull_request: pull_request:
branches: branches:
- master - master
@ -25,13 +18,20 @@ jobs:
os: [windows-latest, ubuntu-latest] os: [windows-latest, ubuntu-latest]
timeout-minutes: 6 timeout-minutes: 6
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Prepare .NET - name: Prepare .NET
uses: actions/setup-dotnet@v1 uses: actions/setup-dotnet@v1
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
dotnet-version: '6.0.x' dotnet-version: '6.0.x'
- name: Prepare FFMpeg - name: Prepare FFMpeg
uses: FedericoCarboni/setup-ffmpeg@v1 uses: FedericoCarboni/setup-ffmpeg@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Test with dotnet - name: Test with dotnet
run: dotnet test --logger GitHubActions run: dotnet test --logger GitHubActions