Skip to content

Commit c83ff6a

Browse files
Update master_staticodeanuj.yml
1 parent 81b48c6 commit c83ff6a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/master_staticodeanuj.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Java version
2020
uses: actions/setup-java@v4
2121
with:
22-
java-version: '8'
22+
java-version: '11.0.13+8.1'
2323
distribution: 'microsoft'
2424

2525
- name: Build with Maven
@@ -37,21 +37,21 @@ jobs:
3737
environment:
3838
name: 'Production'
3939
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
40-
permissions:
41-
id-token: write #This is required for requesting the JWT
40+
permissions:
41+
id-token: write #This is required for requesting the JWT
4242

4343
steps:
4444
- name: Download artifact from build job
4545
uses: actions/download-artifact@v4
4646
with:
4747
name: java-app
48-
49-
- name: Login to Azure
50-
uses: azure/login@v2
51-
with:
52-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_0B0CCE117B164262B2EF4166F0AB93CC }}
53-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_18CF140AEFB5476A91ED3E86B64AA3E6 }}
54-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_FFA3C5C98AF24B1391F46D2CEC1A7677 }}
48+
49+
- name: Login to Azure
50+
uses: azure/login@v2
51+
with:
52+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_0B0CCE117B164262B2EF4166F0AB93CC }}
53+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_18CF140AEFB5476A91ED3E86B64AA3E6 }}
54+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_FFA3C5C98AF24B1391F46D2CEC1A7677 }}
5555

5656
- name: Deploy to Azure Web App
5757
id: deploy-to-webapp
@@ -60,4 +60,4 @@ jobs:
6060
app-name: 'staticodeanuj'
6161
slot-name: 'Production'
6262
package: '*.jar'
63-
63+

0 commit comments

Comments
 (0)