Skip to content

Commit d234eee

Browse files
authored
build: update python and ubuntu versions to fix the README API list workflow (googleapis#12684)
Towards googleapis#11147 🦕
1 parent d4d40c2 commit d234eee

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
permissions:
3030
pull-requests: write # for googleapis/code-suggester
3131
name: Update API List PR
32-
runs-on: ubuntu-latest
32+
runs-on: ubuntu-20.04
3333
# don't run the workflow on forks of googleapis/google-cloud-python
3434
if: ${{github.repository == 'googleapis/google-cloud-python'}}
3535
steps:
3636
- name: Get current date
3737
id: date
38-
run: echo "::set-output name=current_date::$(date +'%Y-%m-%d')"
38+
run: echo "current_date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
3939
- uses: actions/checkout@v4
4040
# Use a fetch-depth of 2
4141
# See https://github.com/googleapis/google-cloud-python/issues/12013
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Python 3.10
4646
uses: actions/setup-python@v5
4747
with:
48-
python-version: 3.10
48+
python-version: 3.10.0
4949
- name: Install script dependencies
5050
run: pip3 install -r requirements.txt
5151
working-directory: ./scripts

0 commit comments

Comments
 (0)