Skip to content

Commit 8ede723

Browse files
committed
release: Use python 3.11 and don't use PIP
Signed-off-by: Joe Richey <[email protected]>
1 parent ddd2bcc commit 8ede723

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
- name: "Checkout Repository"
2222
uses: actions/checkout@v3
2323

24-
- name: "Install Python Libraries"
25-
run: python -m pip install --user -r requirements.txt
26-
working-directory: "scripts"
24+
# TODO: Remove when Python 3.11 is the default on the Gihtub Actions image
25+
- name: "Install Python 3.11"
26+
run: sudo apt-get -y install python3.11
2727

2828
- name: "Run release script"
29-
run: "python3 scripts/ci-release.py"
29+
run: "python3.11 scripts/ci-release.py"
3030
env:
3131
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

scripts/requirements.txt

-1
This file was deleted.

0 commit comments

Comments
 (0)