Skip to content

Commit 70cce85

Browse files
authored
Update master_training20250709.yml
1 parent 747422d commit 70cce85

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/master_training20250709.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ on:
1111

1212
env:
1313
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
14-
DOTNET_VERSION: '8.0' # set this to the dotnet version to use
14+
DOTNET_VERSION: '8.0.x' # set this to the dotnet version to use
1515

1616
jobs:
1717
build-and-deploy:
1818
runs-on: ubuntu-latest
19-
permissions:
20-
id-token: write #This is required for requesting the JWT
21-
contents: read #This is required for actions/checkout
19+
permissions:
20+
id-token: write #This is required for requesting the JWT
21+
contents: read #This is required for actions/checkout
2222

2323
steps:
2424
- name: 'Checkout GitHub Action'
@@ -35,13 +35,13 @@ jobs:
3535
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
3636
dotnet build --configuration Release --output ./output
3737
popd
38-
39-
- name: Login to Azure
40-
uses: azure/login@v2
41-
with:
42-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_B559AA923B2C477AA1295E5ACE047E09 }}
43-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_AEE59A5BF4ED4702BABFFD2C12128010 }}
44-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_360B29D580B640598FC5C13FD536FE3C }}
38+
39+
- name: Login to Azure
40+
uses: azure/login@v2
41+
with:
42+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_B559AA923B2C477AA1295E5ACE047E09 }}
43+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_AEE59A5BF4ED4702BABFFD2C12128010 }}
44+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_360B29D580B640598FC5C13FD536FE3C }}
4545

4646
- name: 'Run Azure Functions Action'
4747
uses: Azure/functions-action@v1
@@ -50,4 +50,4 @@ jobs:
5050
app-name: 'training20250709'
5151
slot-name: 'Production'
5252
package: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output'
53-
53+

0 commit comments

Comments
 (0)