Cleanup pipelines

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

View file

@ -23,9 +23,9 @@ jobs:
uses: actions/checkout@v3
- name: Prepare .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-version: '7.0.x'
- name: Prepare FFMpeg
uses: Iamshankhadeep/setup-ffmpeg@v1.2
@ -34,4 +34,4 @@ jobs:
version: "4.4"
- 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
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Build solution
run: dotnet build --output build -c Release
- name: Publish NuGet package
run: dotnet nuget push "build/*.nupkg" --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }}
uses: actions/checkout@v3
- name: Prepare .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Build solution
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 }}