From be568fdaf020154668b63dad14240105f04b7021 Mon Sep 17 00:00:00 2001 From: Tomas Simko <72190589+TomassSimko@users.noreply.github.com> Date: Sun, 17 Dec 2023 22:32:39 +0100 Subject: [PATCH] fixes v2 --- .github/workflows/build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e2793c..5ec9d52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,14 +59,16 @@ jobs: path: ./src/Web/publish/publish.zip if-no-files-found: error + - uses: azure/login@v1 + name: Login to Azure + with: + client-id: ${{ vars.AZURE_CLIENT_ID }} + tenant-id: ${{ vars.AZURE_TENANT_ID }} + subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }} + - name: Create EF Core migrations bundle if: ${{ inputs.build-artifacts == true }} run: | - - export AZURE_CLIENT_ID="${{ secrets.AZURE_CLIENT_ID }}" - export AZURE_CLIENT_SECRET="${{ secrets.AZURE_CLIENT_SECRET }}" - export AZURE_TENANT_ID="${{ secrets.AZURE_TENANT_ID }}" - dotnet new tool-manifest dotnet tool install dotnet-ef dotnet ef migrations bundle --configuration Release -p ./src/Infrastructure/ -s ./src/Web/ -o efbundle.exe