Skip to content

Commit

Permalink
add environment variable for nuget.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cschuchardt88 committed Feb 13, 2025
1 parent 806c85c commit dee7da6
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 45 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
env:
DOTNET_VERSION: 9.0.x
CONFIGURATION: Release
NEO_NUGET_DIR: ./pkgs

jobs:
nuget-release:
Expand All @@ -34,12 +35,13 @@ jobs:
run: |
dotnet pack ./neo.sln \
--configuration Release \
--output ${{ env.NEO_NUGET_DIR }} \
--verbosity normal \
-p:VersionPrefix=${{ env.APP_VERSION }}
- name: Publish to NuGet.org
run: |
dotnet nuget push ./pkgs/*.nupkg \
dotnet nuget push ${{ env.NEO_NUGET_DIR }}/*.nupkg \
--source https://api.nuget.org/v3/index.json \
--api-key ${{ secrets.NUGET_TOKEN }} \
--skip-duplicate
52 changes: 21 additions & 31 deletions src/Neo.GUI/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 3 additions & 13 deletions src/Neo.GUI/Properties/Strings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dee7da6

Please sign in to comment.