-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (36 loc) · 953 Bytes
/
Copy pathicon_maker.yml
File metadata and controls
47 lines (36 loc) · 953 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
40
41
42
43
44
45
46
47
name: Icon Maker
on:
push:
paths:
- 'icon-maker/**'
pull_request:
paths:
- 'icon-maker/**'
jobs:
build:
name:
runs-on: macos-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Create and activate virtual environment, install dependencies, and generate icons
shell: bash
run: |
source activate_venv.sh
python3 -m pip install --upgrade pip
pip install -e .
for img in icon-maker/*.png; do
python3 icon-maker/make_icns.py "$img"
done
deactivate
ls -lh icon-maker/*.icns
- name: Upload icons files
uses: actions/upload-artifact@v4
with:
name: icons-files
path: icon-maker/*.icns