Skip to content

Commit cd48aa8

Browse files
committed
ci: using latest cursor build tools
1 parent 242d0f8 commit cd48aa8

File tree

1 file changed

+29
-20
lines changed

1 file changed

+29
-20
lines changed

.github/workflows/build.yml

+29-20
Original file line numberDiff line numberDiff line change
@@ -16,33 +16,42 @@ on:
1616

1717
jobs:
1818
build:
19-
runs-on: ${{ matrix.os }}
20-
strategy:
21-
matrix:
22-
os: [ubuntu-latest, macos-latest, windows-latest]
23-
python-version: ["3.7", "3.8", "3.9", "3.10"]
19+
runs-on: "ubuntu-latest"
2420

2521
steps:
26-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2723

28-
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v2
24+
- name: Setup node
25+
uses: actions/setup-node@v4
3026
with:
31-
python-version: ${{ matrix.python-version }}
27+
node-version: 16
3228

33-
- name: Installing pip dependencies
34-
run: python -m pip install --upgrade pip clickgen
29+
- name: Installing Node Dependencies
30+
run: |
31+
rm -rf node_modules yarn.lock
32+
yarn install --frozen-lockfile
3533
continue-on-error: false
3634

37-
# https://github.com/returntocorp/semgrep/issues/4794
38-
- name: Fixing 'attr' module error
39-
run: pip install --force-reinstall --upgrade attrs
35+
- name: Print cbmp version
36+
run: npx cbmp --version
37+
38+
# - name: Rendering Bitmaps
39+
# run: yarn render
40+
# continue-on-error: false
41+
42+
- name: Set up Python
43+
uses: actions/setup-python@v5
44+
with:
45+
python-version: 3.11
4046

41-
- name: Building `XCursor-Pro-Dark` Cursors
42-
run: ctgen build.toml -d 'bitmaps/XCursor-Pro-Dark' -n 'XCursor-Pro-Dark' -c 'Modern dark XCursors.'
47+
- name: Installing PyPi Dependencies
48+
run: python -m pip install --upgrade pip clickgen
49+
continue-on-error: false
4350

44-
- name: Building `XCursor-Pro-Light` Cursors
45-
run: ctgen build.toml -d 'bitmaps/XCursor-Pro-Light' -n 'XCursor-Pro-Light' -c 'Modern light XCursors.'
51+
- name: Print clickgen Version
52+
run: |
53+
clickgen --version
54+
ctgen --version
4655
47-
- name: Building `XCursor-Pro-Red` Cursors
48-
run: ctgen build.toml -d 'bitmaps/XCursor-Pro-Red' -n 'XCursor-Pro-Red' -c 'Modern red XCursors.'
56+
# - name: Building XCursor-Pro Cursors
57+
# run: yarn build

0 commit comments

Comments
 (0)