File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 19
19
- name : Set up Java version
20
20
uses : actions/setup-java@v4
21
21
with :
22
- java-version : ' 8 '
22
+ java-version : ' 11.0.13+8.1 '
23
23
distribution : ' microsoft'
24
24
25
25
- name : Build with Maven
@@ -37,21 +37,21 @@ jobs:
37
37
environment :
38
38
name : ' Production'
39
39
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
42
42
43
43
steps :
44
44
- name : Download artifact from build job
45
45
uses : actions/download-artifact@v4
46
46
with :
47
47
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 }}
55
55
56
56
- name : Deploy to Azure Web App
57
57
id : deploy-to-webapp
60
60
app-name : ' staticodeanuj'
61
61
slot-name : ' Production'
62
62
package : ' *.jar'
63
-
63
+
You can’t perform that action at this time.
0 commit comments