Azure / Azure/azure-functions-core-tools

Azure Functions Core tools not updated in github actions while build and deploy to azure functions

Open
#3,487 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

Get this error while build and deploy azure functions in github actions
Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.19.0:package (package-functions) on project FunctionName: Local Azure Functions Core Tools does not exist or is too old to support function extension installation, skip package phase. To install or update it, see: https://aka.ms/azfunc-install - [Help 1]

this link https://aka.ms/azfunc-install talks about the location of the core tools but locally it is in the users/user/project.. folder and it is set in the environment variable also.
Not sure how where this setting is setup while building and deploying the function app on azure functions.

The project is a java project with maven. Core tools are installed in the local computer and the project builds and runs properly on the local machine. The issue is while building the POM file in github actions.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the GitHub Actions workflow and Maven POM, then run the failing package phase in the reported Java project to see how Azure Functions Core Tools are discovered. Done means the workflow can find a sufficiently recent Core Tools installation and complete the build and deployment without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, github-actions, java
Domain
cli, cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.