Skip to content

Commit eeef9d0

Browse files
committed
Refine packaging process by updating tar.gz creation and improving artifact upload paths
1 parent 859f127 commit eeef9d0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/build_app.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
mkdir -p packaged/build/Open-Source-PyMOL-3.1.0.4
157157
cp -r ./dist/exe.linux*/* packaged/build/Open-Source-PyMOL-3.1.0.4/
158158
mkdir -p packaged/bin
159-
tar czvf packaged/bin/Open-Source-PyMOL-3.1.0.4.tar.gz packaged/build/Open-Source-PyMOL-3.1.0.4
159+
tar czvf packaged/bin/Open-Source-PyMOL-3.1.0.4.tar.gz packaged/build/Open-Source-PyMOL-3.1.0.4
160160
rm -r packaged/build
161161
162162
- name: Prepare packaging environment
@@ -179,8 +179,7 @@ jobs:
179179
-C package-root \
180180
--description "PyMOL installation for debian-based distros" \
181181
--license "BSD-3-Clause" \
182-
--maintainer "Martin Urban <martin.urban@studmail.w-hs.de>"
183-
cp open-source-pymol-3.1.0.4_amd64.deb ./packaged/bin/open-source-pymol-3.1.0.4_amd64.deb
182+
--maintainer "Martin Urban <martin.urban@studmail.w-hs.de>"
184183
185184
- name: Build .rpm package
186185
run: |
@@ -191,12 +190,14 @@ jobs:
191190
-C package-root \
192191
--description "PyMOL installation for red-hat-based distros" \
193192
--license "BSD-3-Clause" \
194-
--maintainer "Martin Urban <martin.urban@studmail.w-hs.de>"
195-
cp open-source-pymol-3.1.0.4_amd64.rpm ./packaged/bin/open-source-pymol-3.1.0.4_amd64.rpm
193+
--maintainer "Martin Urban <martin.urban@studmail.w-hs.de>"
196194
197195
- name: Upload artifact
198196
uses: actions/upload-artifact@v4
199197
with:
200198
name: Open-Source-PyMOL-GNU-Linux-x86_64-Setup
201-
path: ./packaged/bin/*
199+
path: |
200+
packaged/bin/*.tar.gz
201+
*.deb
202+
*.rpm
202203
# --- end

0 commit comments

Comments
 (0)