Skip to content

Commit

Permalink
Merge pull request #55 from danilolutz/feature/ci-upload-artifacts
Browse files Browse the repository at this point in the history
feat: upload artifacts
  • Loading branch information
danilolutz committed Aug 24, 2022
2 parents d734973 + 9cf1716 commit 837cfda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ jobs:
run: dotnet pack --configuration Release CoreZipCode.sln --include-symbols -p:PackageVersion=${{github.ref_name}} -v normal
- name: Publish the package to GPR
run: dotnet nuget push CoreZipCode/bin/Release/CoreZipCode.${{github.ref_name}}.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: CoreZipCode.${{github.ref_name}}.nupkg
path: CoreZipCode/bin/Release/CoreZipCode.${{github.ref_name}}.nupkg
2 changes: 1 addition & 1 deletion CoreZipCode/CoreZipCode.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<PackageId>CoreZipCode</PackageId>
<Title>CoreZipCode</Title>
<Version>2.0.5</Version>
<Version>2.0.6</Version>
<Authors>Danilo Lutz</Authors>
<Company>Danilo Lutz</Company>
<license>https://github.com/danilolutz/CoreZipCode/blob/master/LICENSE</license>
Expand Down

0 comments on commit 837cfda

Please sign in to comment.