Skip to content

Commit e3b15d9

Browse files
author
Ahmad Noman Musleh
committed
Updated Github publish actions to only build/restore the OpenAPI.NET project and exclude the samples
1 parent f78d1a9 commit e3b15d9

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/publish_nuget_package_prereleased.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
with:
1616
dotnet-version: '6.0.x'
1717
- name: Install dependencies
18-
run: dotnet restore
18+
run: dotnet restore src/OpenAPI.Net/OpenAPI.Net.csproj
1919
- name: Build
20-
run: dotnet build --configuration Release --no-restore
20+
run: dotnet build src/OpenAPI.Net/OpenAPI.Net.csproj --configuration Release --no-restore
2121
- name: Publish on pre-release
2222
uses: rohith/publish-nuget@v2
2323
with:

.github/workflows/publish_nuget_package_released.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
with:
1616
dotnet-version: '6.0.x'
1717
- name: Install dependencies
18-
run: dotnet restore
18+
run: dotnet restore src/OpenAPI.Net/OpenAPI.Net.csproj
1919
- name: Build
20-
run: dotnet build --configuration Release --no-restore
20+
run: dotnet build src/OpenAPI.Net/OpenAPI.Net.csproj --configuration Release --no-restore
2121
- name: Publish on release
2222
uses: rohith/publish-nuget@v2
2323
with:

src/OpenAPI.Net/OpenAPI.Net.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<PackageTags>cTrader, Open API, Spotware</PackageTags>
1010
<Description>A .NET RX library for Spotware Open API</Description>
1111
<PackageId>Spotware.OpenAPI.Net</PackageId>
12-
<Version>1.3.0</Version>
12+
<Version>1.3.1-rc0</Version>
1313
<Platforms>AnyCPU</Platforms>
1414
<Company>Spotware</Company>
1515
<Authors>Spotware</Authors>

0 commit comments

Comments
 (0)