ci: prefer env over flags
All checks were successful
Build / Upload to production (push) Successful in 1m38s
All checks were successful
Build / Upload to production (push) Successful in 1m38s
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
94953d881d
commit
46cd965913
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue