From c0bfbbc82e3cc0cf26fd4c38d6d757c4746e1424 Mon Sep 17 00:00:00 2001 From: Yair Halberstadt Date: Thu, 16 Dec 2021 09:52:43 +0200 Subject: [PATCH] Update dotnet-core.yml --- .github/workflows/dotnet-core.yml | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index cfc55e1..bc2c5d5 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -11,14 +11,6 @@ on: description: Should this be a release or a preview package for Stronginject required: true default: 'false' - is_stronginject_extensions_dependencyinjection_release: - description: Should this be a release or a preview package for Stronginject.Extensions.DependencyInjection - required: true - default: 'false' - is_stronginject_extensions_dependencyinjection_aspnetcore_release: - description: Should this be a release or a preview package for Stronginject.Extensions.DependencyInjection.AspNetCore - required: true - default: 'false' jobs: build-test-push-release: @@ -46,23 +38,14 @@ jobs: - name: Pack Preview StrongInject run: dotnet pack StrongInject/StrongInject.csproj -c Release --include-source -o out --version-suffix "CI-${{ steps.current-time.outputs.formattedTime }}" + dotnet pack StrongInject.Extensions.DependencyInjection/StrongInject.Extensions.DependencyInjection.csproj -c Release --include-source -o out --version-suffix "CI-${{ steps.current-time.outputs.formattedTime }}" + dotnet pack StrongInject.Extensions.DependencyInjection/StrongInject.Extensions.DependencyInjection.AspNetCore.csproj -c Release --include-source -o out --version-suffix "CI-${{ steps.current-time.outputs.formattedTime }}" if: github.event.inputs.is_stronginject_release != 'true' - - name: Pack Preview StrongInject.Extensions.DependencyInjection - run: dotnet pack StrongInject.Extensions.DependencyInjection/StrongInject.Extensions.DependencyInjection.csproj -c Release --include-source -o out --version-suffix "CI-${{ steps.current-time.outputs.formattedTime }}" - if: github.event.inputs.is_stronginject_extensions_dependencyinjection_release != 'true' - - name: Pack Release StrongInject.Extensions.DependencyInjection.AspNetCore - run: dotnet pack StrongInject.Extensions.DependencyInjection.AspNetCore/StrongInject.Extensions.DependencyInjection.AspNetCore.csproj -c Release --include-source -o out - if: github.event.inputs.is_stronginject_extensions_dependencyinjection_aspnetcore_release != 'true' - name: Pack Release StrongInject run: dotnet pack StrongInject/StrongInject.csproj -c Release --include-source -o out + dotnet pack StrongInject.Extensions.DependencyInjection/StrongInject.Extensions.DependencyInjection.csproj -c Release --include-source -o out + dotnet pack StrongInject.Extensions.DependencyInjection.AspNetCore/StrongInject.Extensions.DependencyInjection.AspNetCore.csproj -c Release --include-source -o out if: github.event.inputs.is_stronginject_release == 'true' - - name: Pack Release StrongInject.Extensions.DependencyInjection - run: dotnet pack StrongInject.Extensions.DependencyInjection/StrongInject.Extensions.DependencyInjection.csproj -c Release --include-source -o out - if: github.event.inputs.is_stronginject_extensions_dependencyinjection_release == 'true' - - name: Pack Release StrongInject.Extensions.DependencyInjection.AspNetCore - run: dotnet pack StrongInject.Extensions.DependencyInjection.AspNetCore/StrongInject.Extensions.DependencyInjection.AspNetCore.csproj -c Release --include-source -o out - if: github.event.inputs.is_stronginject_extensions_dependencyinjection_aspnetcore_release != 'true' - - name: Push if: ${{ success() && github.ref == 'refs/heads/main' }} run: |