-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (34 loc) · 890 Bytes
/
Copy pathbuild_linux.yml
File metadata and controls
39 lines (34 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Create Binaries for Linux
on:
push:
tags:
- '*linux'
jobs:
deploy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
lfs: true
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build binary
run: pyinstaller --onefile starrem2k13.py -i starrem.ico
- name: list files
run: ls -alh dist/
- name: create tar.gz
run: |
cp -r weights dist/weights
cp LICENSE dist/
cp releasenotes.md dist/
tar -czvf starrem2k13_ubuntu_20.04.tar.gz dist/*
- uses: ncipollo/release-action@v1
with:
artifacts: "starrem2k13_ubuntu_20.04.tar.gz"
bodyFile: "releasenotes.md"