-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate this repo, instead use "https://github.com/OsmSharp/io-api"
Deprecate this nuget package, instead use package "OsmSharp.IO.API" Fix #37
- Loading branch information
1 parent
ce28cfd
commit 961beaf
Showing
3 changed files
with
37 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
# | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters