Skip to content

Commit

Permalink
release version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfredLange committed Sep 24, 2023
1 parent 18612aa commit 9919ffa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,15 @@ jobs:
- name: Build
run: dotnet build --configuration Release --no-restore

# - name: Test (this will run for several minutes)
# run: dotnet test --configuration Release --no-restore --no-build --verbosity normal
- name: Test (this will run for several minutes)
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal

# I believe this step is superfluous, as the package is created in the build step:
- name: Find NuGet package
id: find-package
run: |
NUPKG_PATH=$(find . -name '*.nupkg' -print -quit)
echo "NuGet package is at path: $NUPKG_PATH"
echo "NUPKG_PATH=$NUPKG_PATH" >> "$GITHUB_OUTPUT"
# dotnet pack --configuration Release --no-build --no-restore
- name: Upload Artifact
uses: actions/upload-artifact@v3
Expand All @@ -76,15 +74,8 @@ jobs:
path: ${{ github.workspace }}

- name: Publish NuGet package
# env:
# NUGET_PACKAGE_PATH: ${{ needs.build-and-test.outputs.nuget-package-path }}
# run: |
# echo "NuGet package path (passed from previous job): $NUGET_PACKAGE_PATH"
# NUPKG_PATH=$(find . -name '*.nupkg' -type f -execdir readlink -f {} \;)
# echo "NuGet package path (as found in this job): $NUPKG_PATH"
# echo "Placeholder for publishing NuGet package"
run: |
NUPKG_PATH=$(find . -name '*.nupkg' -print -quit)
echo "NuGet package path (as found in this job): $NUPKG_PATH"
echo "Placeholder for publishing NuGet package"
# dotnet nuget push $NUPKG_PATH --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
dotnet nuget push $NUPKG_PATH --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
# echo "Placeholder for publishing NuGet package"
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.99.0</Version>
<Version>2.0.0</Version>
</PropertyGroup>
</Project>

0 comments on commit 9919ffa

Please sign in to comment.