Skip to content

Commit d0e943a

Browse files
authored
ci: fix setup-python error of unavailable Python version (#14875)
* ci: checking available python versions
1 parent eb7432a commit d0e943a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/codegen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
uses: googleapis/discovery-artifact-manager/.github/workflows/list-services.yml@master
1111

1212
generate:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-20.04
1414
needs: discovery
1515
strategy:
1616
fail-fast: false
@@ -28,7 +28,7 @@ jobs:
2828
repository: googleapis/discovery-artifact-manager
2929
fetch-depth: 1
3030
path: discovery-artifact-manager
31-
- uses: actions/setup-python@v2
31+
- uses: actions/setup-python@v4
3232
with:
3333
python-version: 2.7.18
3434
- run: ./google-api-java-client-services/.github/workflows/generate.sh ${{ matrix.service }}

0 commit comments

Comments
 (0)