Skip to content

Commit

Permalink
fix a couple of syntax issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfredLange committed Sep 23, 2023
1 parent db171f6 commit 88da4d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
build-and-test:
runs-on: ubuntu-latest
outputs:
nuget-package-path: ${{ steps.build-and-test.outputs.NUGET_PACKAGE_PATH }}
nuget-package-path: ${{ steps.publish.outputs.NUGET_PACKAGE_PATH }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -47,7 +47,7 @@ jobs:
# - name: Test (this will run for several minutes)
# run: dotnet test --configuration Release --no-restore --no-build --verbosity normal

- name: Publish NuGet package
- name: Create NuGet package
id: publish
run: |
dotnet pack --configuration Release --no-build --no-restore
Expand All @@ -71,7 +71,9 @@ jobs:
steps:
- name: Publish NuGet package
env:
NUGET_PACKAGE_PATH: ${{ needs.build-and-test.outputs.NUGET_PACKAGE_PATH }}
NUGET_PACKAGE_PATH: ${{ needs.build-and-test.outputs.nuget-package-path }}
run: |
echo "NuGet package path: $NUGET_PACKAGE_PATH"
dotnet nuget push $NUGET_PACKAGE_PATH --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
# run: |
# echo "NuGet package path: $NUGET_PACKAGE_PATH"
# dotnet nuget push $NUGET_PACKAGE_PATH --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
incrementing the minor version will do. [Manfred, 19sep2023] -->
<Project>
<PropertyGroup>
<Version>1.12.1</Version>
<Version>1.12.0</Version>
</PropertyGroup>
</Project>

0 comments on commit 88da4d9

Please sign in to comment.