mirror of
https://github.com/zoffline/zwift-offline.git
synced 2025-12-12 15:49:40 -08:00
Update to Python 3.12
This commit is contained in:
10
.github/workflows/pyinstaller.yaml
vendored
10
.github/workflows/pyinstaller.yaml
vendored
@@ -13,20 +13,20 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.12'
|
||||
|
||||
- uses: engineerd/configurator@v0.0.10
|
||||
with:
|
||||
name: "upx.exe"
|
||||
url: "https://github.com/upx/upx/releases/download/v4.2.1/upx-4.2.1-win64.zip"
|
||||
pathInArchive: "upx-4.2.1-win64/upx.exe"
|
||||
url: "https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-win64.zip"
|
||||
pathInArchive: "upx-4.2.2-win64/upx.exe"
|
||||
|
||||
- run: pip install -r requirements.txt
|
||||
- run: pip install pyinstaller garth
|
||||
- run: pyinstaller standalone.spec
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: dist/*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM python:3.11-alpine as builder
|
||||
FROM python:3.12-alpine as builder
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
@@ -10,7 +10,7 @@ COPY requirements.txt requirements.txt
|
||||
RUN pip install --user --requirement requirements.txt
|
||||
RUN pip install --user garth
|
||||
|
||||
FROM python:3.11-alpine
|
||||
FROM python:3.12-alpine
|
||||
MAINTAINER zoffline <zoffline@tutanota.com>
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
Reference in New Issue
Block a user