This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Merge pull request #10 from kurmann/9-umbenennen-in-kurmann-videoschnitt #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pack .NET Template | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
pack: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Restore NuGet packages | |
run: dotnet restore | |
- name: Pack .NET Template Project | |
run: dotnet pack --configuration Release --no-build --output nupkg | |
- name: Publish to NuGet.org | |
run: dotnet nuget push "nupkg/*.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json |