mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 00:24:14 +01:00
parent
4acdca55dd
commit
f7a325b2e3
2 changed files with 15 additions and 12 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
21
.github/workflows/release.yml
vendored
21
.github/workflows/release.yml
vendored
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue