File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 runs-on : ubuntu-latest
12- # # if: github.event == 'watch' && github.actor == github.event.repository.owner.login #only me
12+ # if: github.event == 'watch' && github.actor == github.event.repository.owner.login #only me
1313 steps :
1414 - uses : actions/checkout@v2
1515 - name : Setup .NET Core
1616 uses : actions/setup-dotnet@v1
1717# with:
1818# dotnet-version: 3.1.101
19- - name : Build
19+ - name : Run Unit Test
20+ run : dotnet test /home/runner/work/OsmApiClient/OsmSharp.IO.API.Tests/OsmSharp.IO.API.Tests.csproj
21+ - name : Build Solution
2022 run : dotnet build --configuration Release
21- # - name: Pack
22- # run: dotnet pack /home/runner/work/OsmApiClient/OsmApiClient/src/OsmApiClient.csproj -o Artifacts
23- # - uses: actions/upload-artifact@v1
24- # with:
25- # name: OsmApiClient.0.0.1-beta.4.nupkg
26- # path: /home/runner/work/OsmApiClient/OsmApiClient/src/bin/Release/*.nupkg
27- - name : Nuget publish
23+ - name : Nuget Publish
2824 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
2925
You can’t perform that action at this time.
0 commit comments