move externally managed to tmp
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
pacman -S --noconfirm git python python-pip binutils
|
pacman -S --noconfirm git python python-pip binutils
|
||||||
mv /lib/python3*/EXTERNALLY-MANAGED . || true
|
mv /lib/python3*/EXTERNALLY-MANAGED /tmp/
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install pyinstaller inquirerpy distro
|
pip install pyinstaller inquirerpy distro
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
@@ -37,11 +37,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get upgrade -y
|
apt-get update && apt-get upgrade -y
|
||||||
apt-get install -y git python3 python3-pip binutils
|
apt-get install -y git python3 python3-pip binutils
|
||||||
mv /usr/lib/python*/EXTERNALLY-MANAGED . || true
|
mv /usr/lib/python*/EXTERNALLY-MANAGED . /tmp/
|
||||||
pip install pyinstaller inquirerpy distro
|
pip install pyinstaller inquirerpy distro
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
run: |
|
run: |
|
||||||
cd ${GITHUB_WORKSPACE}
|
|
||||||
pyinstaller --onefile --add-data "data/:data/" setup.py
|
pyinstaller --onefile --add-data "data/:data/" setup.py
|
||||||
cp dist/setup debian-setup
|
cp dist/setup debian-setup
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -58,7 +57,6 @@ jobs:
|
|||||||
pip install inquirerpy distro pyinstaller
|
pip install inquirerpy distro pyinstaller
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
run: |
|
run: |
|
||||||
cd ${GITHUB_WORKSPACE}
|
|
||||||
pyinstaller --onefile --add-data "data/:data/" setup.py
|
pyinstaller --onefile --add-data "data/:data/" setup.py
|
||||||
cp dist/setup fedora-setup
|
cp dist/setup fedora-setup
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -70,4 +68,4 @@ jobs:
|
|||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ${GITHUB_WORKSPACE}/*-setup
|
path: "*-setup"
|
||||||
|
|||||||
Reference in New Issue
Block a user