GitHub Actions: Continuous Delivery with Azure: Deprecated Actions are used

Context
GitHub Actions: Continuous Delivery with Azure: Step 7: Test the GitHub Actions workflows

Expected behavior
The app is expected to successfully deployed to Azure Web App.

Actual behavior
The deprecated azure/webapps-container-deploy@v1 throwed deprecation warning and the action failed.

Error Message

2020-07-19T20:14:22.2301400Z ##[warning]Input 'app-name' has been deprecated with message: This action is ARCHIVED and will not receive any updates, update your workflows to use azure/webapps-deploy@v2
2020-07-19T20:14:22.2319632Z ##[group]Run azure/webapps-container-deploy@v1
2020-07-19T20:14:22.2320019Z with:
2020-07-19T20:14:22.2320527Z   app-name: ...-ttt-app
2020-07-19T20:14:22.2320874Z   images: docker.pkg.github.com/.../github-actions-continuous-delivery-azure/...-azure-ttt:3baaca0404bbef6d61f466294a5ef1d146e55f91
2020-07-19T20:14:22.2321185Z   slot-name: production
2020-07-19T20:14:22.2321425Z env:
2020-07-19T20:14:22.2321666Z   DOCKER_IMAGE_NAME: ...-azure-ttt
2020-07-19T20:14:22.2321943Z   IMAGE_REGISTRY_URL: docker.pkg.github.com
2020-07-19T20:14:22.2322207Z   AZURE_WEBAPP_NAME: ...-ttt-app
2020-07-19T20:14:22.2322463Z   AZURE_HTTP_USER_AGENT: 
2020-07-19T20:14:22.2322705Z   AZUREPS_HOST_ENVIRONMENT: 
2020-07-19T20:14:22.2322987Z   DOCKER_CONFIG: /home/runner/work/_temp/docker_login_1595189662219
2020-07-19T20:14:22.2323272Z ##[endgroup]
2020-07-19T20:14:22.2789046Z internal/modules/cjs/loader.js:800
2020-07-19T20:14:22.2789339Z     throw err;
2020-07-19T20:14:22.2789576Z     ^
2020-07-19T20:14:22.2789707Z 
2020-07-19T20:14:22.2790431Z Error: Cannot find module 'azure-actions-webclient/webClient'
2020-07-19T20:14:22.2790750Z Require stack:
2020-07-19T20:14:22.2791283Z - /home/runner/work/_actions/azure/webapps-container-deploy/v1/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.js
2020-07-19T20:14:22.2791932Z - /home/runner/work/_actions/azure/webapps-container-deploy/v1/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js
2020-07-19T20:14:22.2792552Z - /home/runner/work/_actions/azure/webapps-container-deploy/v1/node_modules/azure-actions-appservice-rest/Utilities/AzureAppServiceUtility.js
2020-07-19T20:14:22.2793051Z - /home/runner/work/_actions/azure/webapps-container-deploy/v1/lib/main.js
2020-07-19T20:14:22.2793390Z     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
2020-07-19T20:14:22.2793725Z     at Function.Module._load (internal/modules/cjs/loader.js:690:27)
2020-07-19T20:14:22.2794037Z     at Module.require (internal/modules/cjs/loader.js:852:19)
2020-07-19T20:14:22.2794328Z     at require (internal/modules/cjs/helpers.js:74:18)
2020-07-19T20:14:22.2794922Z     at Object.<anonymous> (/home/runner/work/_actions/azure/webapps-container-deploy/v1/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.js:13:21)
2020-07-19T20:14:22.2795275Z     at Module._compile (internal/modules/cjs/loader.js:959:30)
2020-07-19T20:14:22.2795602Z     at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
2020-07-19T20:14:22.2795914Z     at Module.load (internal/modules/cjs/loader.js:815:32)
2020-07-19T20:14:22.2796848Z     at Function.Module._load (internal/modules/cjs/loader.js:727:14)
2020-07-19T20:14:22.2797248Z     at Module.require (internal/modules/cjs/loader.js:852:19) ***
2020-07-19T20:14:22.2797696Z   code: 'MODULE_NOT_FOUND',
2020-07-19T20:14:22.2797968Z   requireStack: [
2020-07-19T20:14:22.2798486Z     '/home/runner/work/_actions/azure/webapps-container-deploy/v1/node_modules/azure-actions-appservice-rest/Kudu/KuduServiceClient.js',
2020-07-19T20:14:22.2799071Z     '/home/runner/work/_actions/azure/webapps-container-deploy/v1/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js',
2020-07-19T20:14:22.2799681Z     '/home/runner/work/_actions/azure/webapps-container-deploy/v1/node_modules/azure-actions-appservice-rest/Utilities/AzureAppServiceUtility.js',
2020-07-19T20:14:22.2800182Z     '/home/runner/work/_actions/azure/webapps-container-deploy/v1/lib/main.js'
2020-07-19T20:14:22.2800468Z   ]
2020-07-19T20:14:22.2800716Z ***

Proposed Action
Update this course and replace azure/webapps-container-deploy@v1 with azure/webapps-deploy@v2

Thank you for reporting this issue @haokanga! We’ll review it issue and address it accordingly.