Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alxandr committed Nov 12, 2024
1 parent 08db678 commit b8ff15f
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/build-deploy-at.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit b8ff15f

Please sign in to comment.