Skip to content

Commit 6045a11

Browse files
authored
Fix publish-release for Theia (#1627)
1 parent ee2461a commit 6045a11

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/publish-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ on:
4343

4444
jobs:
4545
publish:
46-
runs-on: ubuntu-latest
46+
runs-on: ubuntu-22.04
4747
steps:
4848
- name: Checkout release repo (${{ inputs.release_repo || github.event.inputs.release_repo }})
4949
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -53,6 +53,12 @@ jobs:
5353
ref: ${{ inputs.branch || github.event.inputs.branch }}
5454
fetch-depth: 0
5555

56+
- name: Set up Python
57+
if: inputs.release_repo == 'glsp-theia-integration'
58+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
59+
with:
60+
python-version: '3.11'
61+
5662
- name: Configure Git
5763
run: |
5864
git config --global user.name "github-actions[bot]"

0 commit comments

Comments
 (0)