Merge branch 'JackMcKew:main' into python3-10-pyinstaller-5-13

This commit is contained in:
Gabriel Niziolek 2024-01-25 05:52:26 -08:00 committed by GitHub
commit 9e5e0015f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 5 deletions

View File

@ -20,15 +20,15 @@ If you wish to specify a package mirror, this is possibly via the `pypi_url` and
## Example usage
There's an example repository where you can see this action in action: <https://github.com/JackMcKew/pyinstaller-action-windows-example>. Where you can find the packaged executable at: <https://github.com/JackMcKew/pyinstaller-action-windows-example/actions/runs/135879475>.
There's an example repository where you can see this action in action: <https://github.com/JackMcKew/pyinstaller-action-windows-example>.
Include this in your `.github/workflows/main.yaml`:
```yaml
- name: PyInstaller Windows
uses: JackMcKew/pyinstaller-action-windows@main
with:
path: src
with:
path: src
```
## Full Example
@ -44,9 +44,9 @@ name: Package Application with Pyinstaller
on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
jobs:
build:
@ -74,3 +74,14 @@ If you get this error: `OSError: [WinError 123] Invalid name: '/tmp\\*'`, ensure
## Sources
A big thank you to all the contributors over at <https://github.com/cdrx/docker-pyinstaller>, this action is just a modified version of their docker container, thank you!
## Python 3.10
If you are running into problems, please try using the branch `python3-10-pyinstaller-5-3`:
``` yaml
- name: PyInstaller Windows
uses: JackMcKew/pyinstaller-action-windows@python3-10-pyinstaller-5-3
with:
path: src
```