Bump Python in workflow (#1863)

* Bump Python in workflow

* Attempting fix to build runner failing

* Appended --break-system-packages since the new changes was introduced in Arch

---------

Co-authored-by: Anton Hvornum <anton@hvornum.se>
This commit is contained in:
codefiles 2023-06-28 08:51:07 -04:00 committed by GitHub
parent 5b102b0228
commit 0785b35eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 11 deletions

View File

@ -12,23 +12,16 @@ jobs:
options: --privileged
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Prepare arch
run: |
pacman-key --init
pacman --noconfirm -Sy archlinux-keyring
pacman --noconfirm -Sy python-pyparted pkgconfig gcc
pacman --noconfirm -Sy python-pip python-pyparted python-simple-term-menu pkgconfig gcc
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade build twine wheel setuptools installer
pip uninstall archinstall -y
- name: Install package dependencies
run: |
pip install --upgrade simple-term-menu pyparted
python -m pip install --break-system-packages --upgrade pip
pip install --break-system-packages --upgrade build twine wheel setuptools installer
pip uninstall archinstall -y --break-system-packages
- name: Build archinstall
run: python -m build --wheel --no-isolation
- name: Install archinstall