forked from repo-mirrors/cnpg-postgres-containers
fix: match python version in update workflow to the container content (#82)
Signed-off-by: Tao Li <tao.li@enterprisedb.com>
This commit is contained in:
5
.github/workflows/update.yml
vendored
5
.github/workflows/update.yml
vendored
@@ -5,6 +5,9 @@ on:
|
|||||||
- cron: 0 0 * * *
|
- cron: 0 0 * * *
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
PYTHON_VERSION: "3.9"
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: 'bash -Eeuo pipefail -x {0}'
|
shell: 'bash -Eeuo pipefail -x {0}'
|
||||||
@@ -19,7 +22,7 @@ jobs:
|
|||||||
token: ${{ secrets.REPO_GHA_PAT }}
|
token: ${{ secrets.REPO_GHA_PAT }}
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: ${{ env.PYTHON_VERSION }}
|
||||||
- name: Run update script
|
- name: Run update script
|
||||||
uses: nick-fields/retry@v2
|
uses: nick-fields/retry@v2
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user