Skip to content

Commit dfcd12f

Browse files
committed
Fix release action for new pip contraint
1 parent 98f7ffa commit dfcd12f

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,20 @@ jobs:
88
steps:
99
- name: Checkout
1010
uses: actions/checkout@v4
11-
- name: Install dependencies and set path
11+
- name: Set up Python
12+
uses: actions/setup-python@v4
13+
with:
14+
python-version: '3.12'
15+
- name: Install dependencies and set up venv
1216
run: |
13-
sudo apt-get update
14-
sudo apt-get install -y ninja-build libcunit1-dev python3-pip
15-
# Install meson as root so we can install to the system below.
16-
sudo pip install meson
17+
sudo apt-get update
18+
sudo apt-get install -y ninja-build libcunit1-dev
19+
python -m venv venv
20+
source venv/bin/activate
21+
pip install meson
1722
- name: Build tarball and changelogs
1823
run: |
24+
source venv/bin/activate
1925
git rm -rf c/tests/meson-subproject
2026
git config --global user.email "[email protected]"
2127
git config --global user.name "Mr Robot"

0 commit comments

Comments
 (0)