-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 945 Bytes
/
python-app.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Package Application with Pyinstaller
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@v5
with:
python-version: 3.13
- name: Make PyInstaller Package
run: uv run pyinstaller D2RLoader.spec --noconfirm
- name: Archive Release
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: 'D2RLoader.windows.zip'
path: './dist/'
- name: Add release
uses: ncipollo/release-action@v1
with:
artifacts: "./dist/D2RLoader.windows.zip"
artifactErrorsFailBuild: true
allowUpdates: true
generateReleaseNotes: true
omitBodyDuringUpdate: true
omitDraftDuringUpdate: true
replacesArtifacts: true