File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 28
28
29
29
- name : Build executable
30
30
run : |
31
- pyinstaller --name=dbcompare -- onefile --windowed --add-data "img/icon.png;img" --icon="icon.ico" main.py
31
+ pyinstaller --onefile --windowed --add-data "img/icon.png;img" --icon="icon.ico" main.py
32
32
33
33
- name : List dist directory # Check if the executable is created
34
34
run : dir dist # For Windows, this will list files in the dist directory
@@ -37,10 +37,14 @@ jobs:
37
37
run : |
38
38
Compress-Archive -Path dist\dbcompare.exe -DestinationPath dbcompare.zip
39
39
40
- - name : Upload artifacts
41
- uses : actions/upload-artifact@v3
40
+ - name : Create Release
41
+ uses : softprops/action-gh-release@v1
42
42
with :
43
- name : dbcompare-app
44
- path : |
43
+ tag_name : ${{ github.ref }} # Use the tag that triggered this workflow
44
+ files : |
45
45
dist\dbcompare.exe
46
46
dbcompare.zip
47
+ name : Release ${{ github.ref_name }}
48
+ body : This is a new release of DBCompare.
49
+ env :
50
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments