diff --git a/.github/workflows/generate.yaml b/.github/workflows/generate.yaml index 5ca02841f2d..3961c0bddb8 100644 --- a/.github/workflows/generate.yaml +++ b/.github/workflows/generate.yaml @@ -32,12 +32,14 @@ jobs: repository: googleapis/discovery-artifact-manager fetch-depth: 1 path: discovery-artifact-manager + - uses: actions/setup-python@v5 + with: + python-version: 3.8.18 - run: | sudo apt update - sudo apt install python3 - echo "using $(python3 --version)" - curl https://bootstrap.pypa.io/pip/3.6/get-pip.py -o get-pip.py - python3 get-pip.py + python3 --version + pip install pip==21.3.1 + pip --version - run: ./google-api-java-client-services/.github/workflows/generate.sh ${{ matrix.service }} - uses: googleapis/code-suggester@v2 # takes the changes from git directory env: