From b8ff15f8aa0791ee879bea7d471c0b1127568650 Mon Sep 17 00:00:00 2001 From: Aleksander Heintz Date: Tue, 12 Nov 2024 12:41:46 +0100 Subject: [PATCH] ci: test --- .github/workflows/build-deploy-at.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-deploy-at.yml b/.github/workflows/build-deploy-at.yml index 0f33d3d..b6b1807 100644 --- a/.github/workflows/build-deploy-at.yml +++ b/.github/workflows/build-deploy-at.yml @@ -132,15 +132,21 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 + # - name: Setup .NET + # uses: actions/setup-dotnet@v4 + # with: + # dotnet-version: ${{ env.DOTNET_VERSION }} + + # - name: Build function app + # shell: bash + # working-directory: ./src/Functions/Altinn.Auth.AuditLog.Functions + # run: dotnet publish --configuration Release --output ./output + + - name: Download built function-app + uses: actions/download-artifact@v4 with: - dotnet-version: ${{ env.DOTNET_VERSION }} - - - name: Build function app - shell: bash - working-directory: ./src/Functions/Altinn.Auth.AuditLog.Functions - run: dotnet publish --configuration Release --output ./output + name: function-app + path: ./artifacts/function-app - name: Azure Login uses: azure/login@v2 @@ -153,4 +159,4 @@ jobs: uses: Azure/functions-action@v1 with: app-name: ${{ vars.AZURE_FUNCTIONAPP_NAME }} - package: ./src/Functions/Altinn.Auth.AuditLog.Functions/output/ + package: ./artifacts/function-app