File tree 4 files changed +21
-10
lines changed
4 files changed +21
-10
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
1
name : Build Windows
2
2
3
- on : [push]
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
4
7
5
8
jobs :
6
9
build :
23
26
- name : Upload Artifact
24
27
uses : actions/upload-artifact@v4
25
28
with :
26
- name : disabilitydude.zip
29
+ name : disabilitydude
27
30
path : dist/*
28
31
retention-days : 5
Original file line number Diff line number Diff line change
1
+ ## Install
2
+
3
+ ### Windows
4
+
5
+ #### Zip
6
+
7
+ 1 . Download ** disabilitydude.zip**
8
+ 2 . Extract the zip
9
+ 3 . Double-click ` disabilitydude.exe ` from extracted files to run
10
+
Original file line number Diff line number Diff line change @@ -23,19 +23,17 @@ jobs:
23
23
run : |
24
24
pyinstaller --paths=. --name 'disabilitydude' --noconfirm --onedir --windowed --distpath ".\dist" --add-data "./config;config/" "./src/main.py"
25
25
26
- - name : Upload Artifact
27
- uses : actions/upload-artifact@v4
28
- with :
29
- name : disabilitydude.zip
30
- path : dist/*
31
- retention-days : 5
26
+ - name : Package Artifact
27
+ run : |
28
+ $ProgressPreference = 'SilentlyContinue'
29
+ Compress-Archive -Path .\dist\disabilitydude -Destination ".\disabilitydude.zip" -Force
32
30
33
31
- name : Upload Release Asset
34
32
uses : actions/upload-release-asset@v1
35
33
env :
36
34
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
35
with :
38
36
upload_url : ${{ github.event.release.upload_url }}
39
- asset_path : ./dist/ disabilitydude.zip
40
- asset_name : disabilitydude.zip
37
+ asset_path : ./disabilitydude.zip
38
+ asset_name : disabilitydude.zip
41
39
asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments