forked from zoffline/zwift-offline
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
14 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: pyinstaller | |
on: | ||
push: | ||
branches: | ||
- master | ||
- python3.12 | ||
|
||
jobs: | ||
build: | ||
|
@@ -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/[email protected] | ||
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/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]> | ||
|
||
WORKDIR /usr/src/app | ||
|