Skip to content

Commit

Permalink
- Update package tags
Browse files Browse the repository at this point in the history
- Update release build YAML
  • Loading branch information
robertmclaws committed May 23, 2024
1 parent 5ca7e99 commit b7eb67e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ jobs:
- name: Test
run: dotnet test "src/Simple.OData.Client.sln" --no-build --configuration Release --verbosity minimal

- name: Create NuGet Packages
run: dotnet pack src/Simple.OData.Client.sln --no-build --output packages /p:Configuration=release /p:Version="${{ vars.RELEASE_VERSION_MAJORMINOR }}"
# - name: Create NuGet Packages
# run: dotnet pack src/Simple.OData.Client.sln --no-build --output packages /p:Configuration=release /p:Version="${{ vars.RELEASE_VERSION_MAJORMINOR }}"

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: nuget-packages
path: packages
# - name: Upload Artifacts
# uses: actions/upload-artifact@v4
# with:
# name: nuget-packages
# path: packages

- name: Push to NuGet
run: dotnet nuget push "**/*.nupkg" --skip-duplicate --no-service-endpoint -s "https://api.nuget.org/v3/index.json" -k ${{ secrets.NUGET_API_KEY }}
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<PackageIcon>simple-odata-client.png</PackageIcon>
<PackageProjectUrl>https://github.com/simple-odata-client/Simple.OData.Client/wiki</PackageProjectUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageTags>odata;'wcf data services';</PackageTags>
<PackageTags>odata;wcf data services; simpleodata</PackageTags>
<Serviceable>true</Serviceable>

<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
Expand Down

0 comments on commit b7eb67e

Please sign in to comment.