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