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:
parent
5b102b0228
commit
0785b35eb4
|
|
@ -12,23 +12,16 @@ jobs:
|
||||||
options: --privileged
|
options: --privileged
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v4
|
|
||||||
with:
|
|
||||||
python-version: '3.10'
|
|
||||||
- name: Prepare arch
|
- name: Prepare arch
|
||||||
run: |
|
run: |
|
||||||
pacman-key --init
|
pacman-key --init
|
||||||
pacman --noconfirm -Sy archlinux-keyring
|
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
|
- name: Install build dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --break-system-packages --upgrade pip
|
||||||
pip install --upgrade build twine wheel setuptools installer
|
pip install --break-system-packages --upgrade build twine wheel setuptools installer
|
||||||
pip uninstall archinstall -y
|
pip uninstall archinstall -y --break-system-packages
|
||||||
- name: Install package dependencies
|
|
||||||
run: |
|
|
||||||
pip install --upgrade simple-term-menu pyparted
|
|
||||||
- name: Build archinstall
|
- name: Build archinstall
|
||||||
run: python -m build --wheel --no-isolation
|
run: python -m build --wheel --no-isolation
|
||||||
- name: Install archinstall
|
- name: Install archinstall
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue