Skip to content

Commit b173b5f

Browse files
committed
Update publish action to include creating the exe and adding that as an artifact to publish
1 parent e7856d7 commit b173b5f

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/publish.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,21 @@ jobs:
6262
- name: Install dependencies
6363
run: |
6464
python -m pip install --upgrade pip
65-
pip install pyinstaller pillow requests torch lxml pyteomics tqdm
65+
pip install pyinstaller
6666
6767
- name: Build Windows EXE with PyInstaller
6868
run: |
69-
pyinstaller gui.spec --noconfirm
69+
pyinstaller ideeplc/gui.spec --noconfirm
7070
71-
- name: Upload built EXE
71+
- name: Upload EXE to Actions artifact
7272
uses: actions/upload-artifact@v4
7373
with:
7474
name: iDeepLC-windows-exe
75-
path: dist/
75+
path: dist/*.exe
76+
77+
- name: Upload EXE to GitHub Release page
78+
uses: softprops/action-gh-release@v1
79+
with:
80+
files: dist/*.exe
81+
env:
82+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)