ci: prefer env over flags
All checks were successful
Build / Upload to production (push) Successful in 1m38s

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2025-06-01 14:06:31 +03:00
parent 94953d881d
commit 46cd965913
Signed by: mctaylors
GPG key ID: D9D662D603AD75E8

View file

@ -8,6 +8,9 @@ jobs:
upload: upload:
name: Upload to production name: Upload to production
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
PIP_ROOT_USER_ACTION: ignore
# see also github.com/actions/setup-python/issues/513
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -17,8 +20,8 @@ jobs:
python-version: '3.13' python-version: '3.13'
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install --root-user-action ignore -r requirements.txt pip install -r requirements.txt
pip install --root-user-action ignore pyinstaller pip install pyinstaller
- name: Build binary - name: Build binary
run: pyinstaller --onefile main.py run: pyinstaller --onefile main.py
- name: Set up SSH key - name: Set up SSH key