Release RaptorSheets.Gig to NuGet #11
This file contains hidden or 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: Release RaptorSheets.Gig to NuGet | |
| on: | |
| workflow_dispatch | |
| jobs: | |
| tests: | |
| uses: ./.github/workflows/dotnet.yml # use the callable tests job to run tests | |
| build: | |
| needs: [tests] # require tests to pass before deploy runs | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v1 | |
| - name: Pack nugets | |
| run: dotnet pack /home/runner/work/RaptorSheets/RaptorSheets/RaptorSheets.Gig/RaptorSheets.Gig.csproj -c Release --output . | |
| - name: Push to NuGet - RaptorSheets.Gig | |
| run: dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json |