Skip to content

Commit

Permalink
Merge pull request #18 from Byndyusoft/feature/fix-yml
Browse files Browse the repository at this point in the history
Release.yml fixed
  • Loading branch information
Alex-Grigorichev authored Sep 7, 2023
2 parents 1dc2c5b + 9b82568 commit 5f93642
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,8 @@ jobs:
- name: test
run: dotnet test

- name: publish
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: src/ModelResult/Byndyusoft.ModelResult.csproj
VERSION_FILE_PATH: Directory.Build.props
VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$
TAG_COMMIT: false
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
INCLUDE_SYMBOLS: true

- name: publish
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: src/ModelResult.AspNetCore/Byndyusoft.ModelResult.AspNetCore.csproj
VERSION_FILE_PATH: Directory.Build.props
VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$
TAG_COMMIT: false
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
INCLUDE_SYMBOLS: true
- name: Create package(s)
run: dotnet pack --configuration Release --no-build

- name: Publish packages
run: dotnet nuget push **/*.nupkg -k ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json

0 comments on commit 5f93642

Please sign in to comment.