Skip to content

Commit

Permalink
use the latest python version for cli docs build (#13829)
Browse files Browse the repository at this point in the history
* use the latest python version for cli docs build

Since the CI image has been upgraded to ubuntu 24.04, python 3.7 is no
longer available.  Upgrade to the latest version to make the docs
build work again.

* allow manually dispatching the workflow

* Update .github/workflows/pulumi-cli.yml

Co-authored-by: Julien <[email protected]>

---------

Co-authored-by: Julien <[email protected]>
  • Loading branch information
tgummerer and julienp authored Jan 16, 2025
1 parent ca12a29 commit e094d96
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/pulumi-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ on:
repository_dispatch:
types:
- pulumi-cli

on:
workflow_dispatch:
inputs:
ref:
required: true
description: "Git Tag"
type: string
jobs:
pull-request:
runs-on: ubuntu-latest
Expand All @@ -15,7 +23,7 @@ jobs:
uses: actions/checkout@v2
- name: set the pulumi version
run: |
echo "PULUMI_VERSION=${{ github.event.client_payload.ref }}" >> $GITHUB_ENV
echo "PULUMI_VERSION=${{ inputs.ref }}" >> $GITHUB_ENV
- name: pull-request
uses: repo-sync/pull-request@v2
with:
Expand All @@ -30,7 +38,7 @@ jobs:
steps:
- name: set the pulumi version
run: |
echo "PULUMI_VERSION=${{ github.event.client_payload.ref }}" >> $GITHUB_ENV
echo "PULUMI_VERSION=${{ inputs.ref }}" >> $GITHUB_ENV
- name: checkout docs repo
uses: actions/checkout@v2
with:
Expand All @@ -40,7 +48,7 @@ jobs:
with:
repository: pulumi/pulumi
path: pulumi
ref: v${{ github.event.client_payload.ref }}
ref: v${{ inputs.ref }}
- name: Install pulumictl
uses: jaxxstorm/[email protected]
with:
Expand Down Expand Up @@ -123,7 +131,7 @@ jobs:
goversion:
- 1.16.x
pythonversion:
- "3.7"
- "3.13"
nodeversion:
- "18.x"
notify:
Expand Down

0 comments on commit e094d96

Please sign in to comment.