Cleanup pipelines

This commit is contained in:
Malte Rosenbjerg 2023-01-29 22:55:47 +01:00
parent fb6865587a
commit ba2e31c43b
2 changed files with 15 additions and 12 deletions

View file

@ -23,9 +23,9 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Prepare .NET - name: Prepare .NET
uses: actions/setup-dotnet@v2 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: '6.0.x' dotnet-version: '7.0.x'
- name: Prepare FFMpeg - name: Prepare FFMpeg
uses: Iamshankhadeep/setup-ffmpeg@v1.2 uses: Iamshankhadeep/setup-ffmpeg@v1.2
@ -34,4 +34,4 @@ jobs:
version: "4.4" version: "4.4"
- name: Test with dotnet - name: Test with dotnet
run: dotnet test --logger GitHubActions run: dotnet test FFMpegCore.sln --logger GitHubActions

View file

@ -8,13 +8,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Prepare .NET
uses: actions/setup-dotnet@v1 - name: Prepare .NET
with: uses: actions/setup-dotnet@v3
dotnet-version: '6.0.x' with:
- name: Build solution dotnet-version: '7.0.x'
run: dotnet build --output build -c Release
- name: Publish NuGet package - name: Build solution
run: dotnet nuget push "build/*.nupkg" --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }} run: dotnet pack FFMpegCore.sln --output build -c Release
- name: Publish NuGet package
run: dotnet nuget push build/*.nupkg --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }}