Skip to content

Commit

Permalink
Package to nuget on release
Browse files Browse the repository at this point in the history
  • Loading branch information
skibitsky committed Dec 13, 2023
1 parent 606c176 commit 3efd287
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -38,22 +38,22 @@ jobs:
pack:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 5
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4

# - name: Setup .NET
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: |
# 8.0.x
#
# - name: Pack nugets
# run: dotnet pack -c Release --no-build --output .
#
# - name: Push to NuGet
# run: dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Pack nugets
run: dotnet pack -c Release --no-build --output .

- name: Push to NuGet
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json

dispatch:
needs: pack
Expand Down

0 comments on commit 3efd287

Please sign in to comment.