mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Cleanup pipelines
This commit is contained in:
parent
fb6865587a
commit
ba2e31c43b
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
|
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
|
||||||
|
|
21
.github/workflows/release.yml
vendored
21
.github/workflows/release.yml
vendored
|
@ -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 }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue