Skip to content

Commit

Permalink
Python action from github; ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
atemerev committed Feb 29, 2024
1 parent c176270 commit 9c4b590
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/publish_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,20 @@ on: push

jobs:
wheel:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python_version: ["3.11"]
python_version: [3.11]
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 500
fetch-tags: true
- name: Prerequisites
run: |
sudo apt-get update --fix-missing
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo TZ=UTC apt-get -y install tzdata
sudo apt-get update
sudo apt-get install -y python${{ matrix.python_version }} python${{ matrix.python_version }}-venv
sudo apt-get install -y curl
sudo curl -sS https://bootstrap.pypa.io/get-pip.py | python${{ matrix.python_version }}
pip3 install pipx
- name: Build Wheel
run: |
cd $GITHUB_WORKSPACE
Expand Down

0 comments on commit 9c4b590

Please sign in to comment.