Skip to content

Commit

Permalink
Deprecate this repo, instead use "https://github.com/OsmSharp/io-api"
Browse files Browse the repository at this point in the history
Deprecate this nuget package, instead use package "OsmSharp.IO.API"
Fix #37
  • Loading branch information
blackboxlogic committed Nov 23, 2023
1 parent ce28cfd commit 961beaf
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 32 deletions.
59 changes: 30 additions & 29 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
name: Build-Pack-Publish
on:
# watch:
# types: [started]
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
# if: github.event == 'watch' && github.actor == github.event.repository.owner.login #only me
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
# with:
# dotnet-version: 3.1.101
- name: Run Unit Test
run: dotnet test /home/runner/work/OsmApiClient/OsmApiClient/OsmSharp.IO.API.Tests/OsmSharp.IO.API.Tests.csproj
- name: Build Solution
run: dotnet build --configuration Release
- name: Nuget Publish
if: success()
run: dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NugetApiKey}} /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/*.nupkg
- name: Nuget Publish Symbols
if: success()
run: dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NugetApiKey}} /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/*.snupkg --skip-duplicate

## https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
#name: Build-Pack-Publish
#on:
## watch:
## types: [started]
# push:
# branches:
# - master
#jobs:
# build:
# runs-on: ubuntu-latest
## if: github.event == 'watch' && github.actor == github.event.repository.owner.login #only me
# steps:
# - uses: actions/checkout@v2
# - name: Setup .NET Core
# uses: actions/setup-dotnet@v1
## with:
## dotnet-version: 3.1.101
# - name: Run Unit Test
# run: dotnet test /home/runner/work/OsmApiClient/OsmApiClient/OsmSharp.IO.API.Tests/OsmSharp.IO.API.Tests.csproj
# - name: Build Solution
# run: dotnet build --configuration Release
# - name: Nuget Publish
# if: success()
# run: dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NugetApiKey}} /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/*.nupkg
# - name: Nuget Publish Symbols
# if: success()
# run: dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NugetApiKey}} /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/*.snupkg --skip-duplicate
#
#
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# DEPRECATED
Development has moved to https://github.com/OsmSharp/io-api

---

# OsmApiClient
This is a simple C# client to allow using [OSM API](https://wiki.openstreetmap.org/wiki/API_v0.6) easily.
Please read the API's documentation and use it responsibly. Misuse can have an adverse affect on the OSM ecosystem.
Expand Down
5 changes: 2 additions & 3 deletions src/OsmSharp.IO.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
<PackageId>OsmApiClient</PackageId>
<Version>0.0.8</Version>
<RepositoryUrl>https://github.com/blackboxlogic/OsmApiClient</RepositoryUrl>
<PackageReleaseNotes>Fixed latitude validation range.
Fixed failures when host computer culture uses commas for decimals.</PackageReleaseNotes>
<PackageReleaseNotes>Deprecating this package, it has relocated to package "OsmSharp.IO.API".</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/blackboxlogic/OsmApiClient</PackageProjectUrl>
<Description>This is a simple C# client to allow using OSM API.</Description>
<Description>DEPRECATED, use "https://github.com/OsmSharp/io-api" instead. This was a simple C# client to allow using OSM API.</Description>
<PackageTags>osm;openstreetmap;client</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand Down

0 comments on commit 961beaf

Please sign in to comment.