File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed
Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ jobs:
121121 - name : Upload artifact
122122 uses : actions/upload-artifact@v4
123123 with :
124- name : Open-Source-PyMOL-macOS-${{ matrix.arch }}-Setup
124+ name : Open-Source-PyMOL-macOS-${{ matrix.os }}-Setup
125125 path : ./*.dmg
126126 # --- end
127127
@@ -151,9 +151,36 @@ jobs:
151151 chmod +x ./automator.sh
152152 ./automator.sh build app
153153
154+ - name : Build tar.gz portable installation
155+ run : |
156+ mkdir packaged
157+ mkdir packaged/build/Open-Source-PyMOL-3.1.0.4
158+ cp -r ./dist/exe.linux*/* packaged/build/Open-Source-PyMOL-3.1.0.4/
159+ mkdir packaged/bin
160+ tar czvf packaged/bin/Open-Source-PyMOL-3.1.0.4.tar.gz packaged/build/Open-Source-PyMOL-3.1.0.4
161+ rm -r packaged/build
162+
163+ - name : Build .deb package
164+ run : |
165+ gem install fpm
166+ mkdir -p package-root/opt/Open-Source-PyMOL-3.1.0.4
167+ cp -r ./dist/exe.linux*/* package-root/opt/Open-Source-PyMOL-3.1.0.4/
168+ mkdir -p package-root/usr/bin
169+ ln -s /opt/Open-Source-PyMOL-3.1.0.4/Open-Source-PyMOL package-root/usr/bin/Open-Source-PyMOL
170+
171+ fpm -s dir -t deb \
172+ -n open-source-pymol \
173+ -v 3.1.0.4 \
174+ -a amd64 \
175+ -C package-root \
176+ --description "PyMOL installation for debian-based distros" \
177+ --license "BSD-3-Clause" \
178+ --maintainer "Martin Urban <martin.urban@studmail.w-hs.de>"
179+ cp open-source-pymol-3.1.0.4_amd64.deb ./packaged/bin/open-source-pymol-3.1.0.4_amd64.deb
180+
154181 - name : Upload artifact
155182 uses : actions/upload-artifact@v4
156183 with :
157184 name : Open-Source-PyMOL-GNU-Linux-x86_64-Setup
158- path : ./dist/exe.linux *
185+ path : ./packaged/bin/ *
159186 # --- end
You can’t perform that action at this time.
0 commit comments