-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (36 loc) · 928 Bytes
/
make-icns.yml
File metadata and controls
47 lines (36 loc) · 928 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: Make ICNS
on:
push:
paths:
- 'icns/**'
pull_request:
paths:
- 'icns/**'
jobs:
build:
name: Make ICNS
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 icns/*; do
python3 image-toolkit/make_icns.py "$img"
done
deactivate
ls -lh icns/*.icns
- name: Upload ICNS files
uses: actions/upload-artifact@v4
with:
name: icns-files
path: icns/*.icns