From 46eddd374845571c512f2dcf5a8569e12eb0716b Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Sat, 28 Jan 2023 11:08:55 +0100 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5afb8d4..efcacd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,13 +1,6 @@ name: CI on: - push: - branches: - - master - paths: - - .github/workflows/ci.yml - - FFMpegCore/** - - FFMpegCore.Test/** pull_request: branches: - master @@ -25,13 +18,20 @@ jobs: os: [windows-latest, ubuntu-latest] timeout-minutes: 6 steps: + - name: Checkout uses: actions/checkout@v2 + - name: Prepare .NET uses: actions/setup-dotnet@v1 with: + repo-token: ${{ secrets.GITHUB_TOKEN }} dotnet-version: '6.0.x' + - name: Prepare FFMpeg uses: FedericoCarboni/setup-ffmpeg@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Test with dotnet run: dotnet test --logger GitHubActions