diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5295246b08d..1ba87b13858 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -180,8 +180,7 @@ jobs: - name: Install Azure Functions Core Tools if: inputs.os == 'ubuntu-latest' && (inputs.testShortName == 'Playground' || inputs.testShortName == 'Azure') run: | - sudo apt-get update - sudo apt-get install -y azure-functions-core-tools-4 + npm i -g azure-functions-core-tools@4 --unsafe-perm true - name: Compute test project path id: compute_project_path diff --git a/.github/workflows/tests-runner.yml b/.github/workflows/tests-runner.yml index 83848e32b17..c18a1106f96 100644 --- a/.github/workflows/tests-runner.yml +++ b/.github/workflows/tests-runner.yml @@ -117,8 +117,7 @@ jobs: - name: Install Azure Functions Core Tools if: runner.os == 'Linux' run: | - sudo apt-get update - sudo apt-get install -y azure-functions-core-tools-4 + npm i -g azure-functions-core-tools@4 --unsafe-perm true - name: Test ${{ matrix.tests.label }} run: | @@ -179,8 +178,7 @@ jobs: - name: Install Azure Functions Core Tools if: runner.os == 'Linux' run: | - sudo apt-get update - sudo apt-get install -y azure-functions-core-tools-4 + npm i -g azure-functions-core-tools@4 --unsafe-perm true - name: Test ${{ matrix.tests.label }} env: