Commit 20324ed 1 parent f6874ec commit 20324ed Copy full SHA for 20324ed
File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Build ffsubsync Executables
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - master
5
8
6
9
jobs :
7
10
build :
@@ -14,10 +17,10 @@ jobs:
14
17
15
18
steps :
16
19
- name : Check out the repository
17
- uses : actions/checkout@v2
20
+ uses : actions/checkout@v4
18
21
19
22
- name : Set up Python
20
- uses : actions/setup-python@v2
23
+ uses : actions/setup-python@v5
21
24
with :
22
25
python-version : ${{ matrix.python-version }}
23
26
@@ -28,12 +31,12 @@ jobs:
28
31
29
32
- name : Build executable
30
33
run : |
31
- pyinstaller --onefile --name ffsubsync_exe --paths $(python -c "import ffsubsync, os; print(os.path.dirname(ffsubsync.__file__))") -F $(python -c "import ffsubsync.__main__ ; print(ffsubsync.__main__ .__file__)")
34
+ pyinstaller --onefile --name ffsubsync_bin --copy-metadata -- paths $(python -c "import ffsubsync, os; print(os.path.dirname(ffsubsync.__file__))") -F $(python -c "import ffsubsync.ffsubsync ; print(ffsubsync.ffsubsync .__file__)")
32
35
shell : bash
33
36
34
37
- name : Archive the build
35
38
uses : actions/upload-artifact@v3
36
39
with :
37
- name : ffsubsync_exe -${{ matrix.os }}
40
+ name : ffsubsync_bin -${{ matrix.os }}
38
41
path : |
39
- dist/ffsubsync_exe ${{ matrix.os == 'windows-latest' && '.exe' || '' }}
42
+ dist/ffsubsync_bin ${{ matrix.os == 'windows-latest' && '.exe' || '' }}
You can’t perform that action at this time.
0 commit comments