python3.8: not found

This issue has been tracked since 2022-11-18.

TL;DR

Hello guys,

We have this error when we use your action since this morning.

Error: google-github-actions/setup-gcloud failed with: failed to execute command gcloud --quiet components install gke-gcloud-auth-plugin: /opt/hostedtoolcache/gcloud/410.0.0/x64/bin/gcloud: 182: exec: python3.8: not found

Do you have any idea what going on ?

Expected behavior

No response

Observed behavior

No response

Action YAML

- name: Set up Cloud SDK
        uses: google-github-actions/[email protected]
        with:
          install_components: 'gke-gcloud-auth-plugin'

Log output

Error: google-github-actions/setup-gcloud failed with: failed to execute command `gcloud --quiet components install gke-gcloud-auth-plugin`: /opt/hostedtoolcache/gcloud/410.0.0/x64/bin/gcloud: 182: exec: python3.8: not found

Additional information

No response

clementhemidy wrote this answer on 2022-11-18

Okay, i have founded the issue.

I just have the env var CLOUDSDK_PYTHON with python3.8.
The ubuntu-latest image on Github Action must have been updated this night.

franciscocpg wrote this answer on 2022-11-23

Complementing if anyone gets here: the solution in my case was to change ubuntu-latest to ubuntu-20.04.

More Details About Repo
Owner Name google-github-actions
Repo Name setup-gcloud
Full Name google-github-actions/setup-gcloud
Language TypeScript
Created Date 2019-11-05
Updated Date 2023-03-23
Star Count 1505
Watcher Count 65
Fork Count 548
Issue Count 11

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date