Skip to content

Commit ac1b16d

Browse files
committed
Added Linux tarball creator to standalone-exe action
1 parent 893d7d7 commit ac1b16d

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

.github/workflows/standalone-exe.yml

+28-4
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,31 @@ jobs:
5757
run: |
5858
cd install
5959
python -m install
60-
# - uses: actions/upload-artifact@v4 # Upload the tarball to the GitHub actions workflow
61-
# with:
62-
# name: pymead-setup-exe
63-
# path: \home\runner\pymead\pymead\install\*.tar.gz
60+
- uses: actions/upload-artifact@v4 # Upload the tarball to the GitHub actions workflow
61+
with:
62+
name: pymead-linux-tarball
63+
path: /home/runner/work/pymead/pymead/install/*.tar.gz
64+
macos-build:
65+
runs-on: macos-latest
66+
strategy:
67+
matrix:
68+
python-version: [ "3.13" ]
69+
steps:
70+
- name: Checkout code
71+
uses: actions/checkout@v4
72+
- name: Set up Python ${{ matrix.python-version }}
73+
uses: actions/setup-python@v5
74+
with:
75+
python-version: ${{ matrix.python-version }}
76+
- name: Install Pyinstaller
77+
run: pip install pyinstaller
78+
- name: Install pymead
79+
run: pip install .
80+
- name: Generate tarball
81+
run: |
82+
cd install
83+
python -m install
84+
- uses: actions/upload-artifact@v4 # Upload the tarball to the GitHub actions workflow
85+
with:
86+
name: pymead-macos-tarball
87+
path: /home/runner/work/pymead/pymead/install/*.tar.gz

0 commit comments

Comments
 (0)