Skip to content

Commit

Permalink
Updated Github publish actions to only build/restore the OpenAPI.NET …
Browse files Browse the repository at this point in the history
…project and exclude the samples
  • Loading branch information
Ahmad Noman Musleh committed Dec 24, 2021
1 parent f78d1a9 commit e3b15d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_nuget_package_prereleased.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
with:
dotnet-version: '6.0.x'
- name: Install dependencies
run: dotnet restore
run: dotnet restore src/OpenAPI.Net/OpenAPI.Net.csproj
- name: Build
run: dotnet build --configuration Release --no-restore
run: dotnet build src/OpenAPI.Net/OpenAPI.Net.csproj --configuration Release --no-restore
- name: Publish on pre-release
uses: rohith/publish-nuget@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_nuget_package_released.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
with:
dotnet-version: '6.0.x'
- name: Install dependencies
run: dotnet restore
run: dotnet restore src/OpenAPI.Net/OpenAPI.Net.csproj
- name: Build
run: dotnet build --configuration Release --no-restore
run: dotnet build src/OpenAPI.Net/OpenAPI.Net.csproj --configuration Release --no-restore
- name: Publish on release
uses: rohith/publish-nuget@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI.Net/OpenAPI.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageTags>cTrader, Open API, Spotware</PackageTags>
<Description>A .NET RX library for Spotware Open API</Description>
<PackageId>Spotware.OpenAPI.Net</PackageId>
<Version>1.3.0</Version>
<Version>1.3.1-rc0</Version>
<Platforms>AnyCPU</Platforms>
<Company>Spotware</Company>
<Authors>Spotware</Authors>
Expand Down

0 comments on commit e3b15d9

Please sign in to comment.