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