Skip to content

Commit

Permalink
--wip-- [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohan Belval committed Mar 12, 2021
1 parent edfb4bc commit 59610db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test -c Release
- name: Echo
run: echo ${{ github.event_name }}
deploy:
needs: build
if: github.event_name == 'release'
Expand All @@ -48,7 +46,9 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.100
- name: Build
run: dotnet build -c Release
- name: Create Release NuGet package
run: dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=${{ github.event.release.tag_name }} -o nupkg $PROJECT_NAME.*proj
run: dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=${{ github.event.release.tag_name }} -o nupkg $PROJECT_NAME.csproj
- name: Push to NuGet Feed
run: dotnet nuget push ./nupkg/*.nupkg --source $NUGET_FEED --skip-duplicate --api-key $NUGET_KEY

0 comments on commit 59610db

Please sign in to comment.