From 46cd965913abd6c3e9b375b1609d9291254b7d1d Mon Sep 17 00:00:00 2001 From: mctaylors Date: Sun, 1 Jun 2025 14:06:31 +0300 Subject: [PATCH] ci: prefer env over flags Signed-off-by: mctaylors --- .forgejo/workflows/build-push.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build-push.yaml b/.forgejo/workflows/build-push.yaml index 248dd32..d1cd86d 100644 --- a/.forgejo/workflows/build-push.yaml +++ b/.forgejo/workflows/build-push.yaml @@ -8,6 +8,9 @@ jobs: upload: name: Upload to production runs-on: ubuntu-latest + env: + PIP_ROOT_USER_ACTION: ignore + # see also github.com/actions/setup-python/issues/513 steps: - name: Checkout repository uses: actions/checkout@v4 @@ -17,8 +20,8 @@ jobs: python-version: '3.13' - name: Install dependencies run: | - pip install --root-user-action ignore -r requirements.txt - pip install --root-user-action ignore pyinstaller + pip install -r requirements.txt + pip install pyinstaller - name: Build binary run: pyinstaller --onefile main.py - name: Set up SSH key