From e3b15d9254f66842eaf4baccfdd944ffa691baeb Mon Sep 17 00:00:00 2001 From: Ahmad Noman Musleh Date: Fri, 24 Dec 2021 10:15:55 +0300 Subject: [PATCH] Updated Github publish actions to only build/restore the OpenAPI.NET project and exclude the samples --- .github/workflows/publish_nuget_package_prereleased.yml | 4 ++-- .github/workflows/publish_nuget_package_released.yml | 4 ++-- src/OpenAPI.Net/OpenAPI.Net.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish_nuget_package_prereleased.yml b/.github/workflows/publish_nuget_package_prereleased.yml index a5aeb4e..fcf4df3 100644 --- a/.github/workflows/publish_nuget_package_prereleased.yml +++ b/.github/workflows/publish_nuget_package_prereleased.yml @@ -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: diff --git a/.github/workflows/publish_nuget_package_released.yml b/.github/workflows/publish_nuget_package_released.yml index 59040c5..f5d3210 100644 --- a/.github/workflows/publish_nuget_package_released.yml +++ b/.github/workflows/publish_nuget_package_released.yml @@ -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: diff --git a/src/OpenAPI.Net/OpenAPI.Net.csproj b/src/OpenAPI.Net/OpenAPI.Net.csproj index 7dc4305..1cb2979 100644 --- a/src/OpenAPI.Net/OpenAPI.Net.csproj +++ b/src/OpenAPI.Net/OpenAPI.Net.csproj @@ -9,7 +9,7 @@ cTrader, Open API, Spotware A .NET RX library for Spotware Open API Spotware.OpenAPI.Net - 1.3.0 + 1.3.1-rc0 AnyCPU Spotware Spotware