|
16 | 16 |
|
17 | 17 | jobs:
|
18 | 18 | build:
|
19 |
| - runs-on: ${{ matrix.os }} |
20 |
| - strategy: |
21 |
| - matrix: |
22 |
| - os: [ubuntu-latest, windows-latest] |
23 |
| - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] |
| 19 | + runs-on: "ubuntu-latest" |
24 | 20 |
|
25 | 21 | steps:
|
26 |
| - - uses: actions/checkout@v2 |
| 22 | + - uses: actions/checkout@v4 |
27 | 23 |
|
28 |
| - - name: Set up Python ${{ matrix.python-version }} |
29 |
| - uses: actions/setup-python@v2 |
| 24 | + - name: Setup node |
| 25 | + uses: actions/setup-node@v4 |
30 | 26 | with:
|
31 |
| - python-version: ${{ matrix.python-version }} |
| 27 | + node-version: 16 |
32 | 28 |
|
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 |
35 | 33 | continue-on-error: false
|
36 | 34 |
|
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 |
40 | 41 |
|
41 |
| - - name: Building `macOS BigSur` Cursors |
42 |
| - run: ctgen build.toml -d 'bitmaps/macOS-BigSur' -n 'macOS-BigSur' -c 'macOS BigSur Cursors' |
| 42 | + - name: Set up Python |
| 43 | + uses: actions/setup-python@v5 |
| 44 | + with: |
| 45 | + python-version: 3.11 |
43 | 46 |
|
44 |
| - - name: Building `macOS BigSur White` Cursors |
45 |
| - run: ctgen build.toml -d 'bitmaps/macOS-BigSur-White' -n 'macOS-BigSur-White' -c 'macOS BigSur White Cursors' |
| 47 | + - name: Installing PyPi Dependencies |
| 48 | + run: python -m pip install --upgrade pip clickgen |
| 49 | + continue-on-error: false |
46 | 50 |
|
47 |
| - - name: Building `macOS Monterey` Cursors |
48 |
| - run: ctgen build.toml -d 'bitmaps/macOS-Monterey' -n 'macOS-Monterey' -c 'macOS Monterey Cursors' |
| 51 | + - name: Print clickgen Version |
| 52 | + run: | |
| 53 | + clickgen --version |
| 54 | + ctgen --version |
49 | 55 |
|
50 |
| - - name: Building `macOS Monterey White` Cursors |
51 |
| - run: ctgen build.toml -d 'bitmaps/macOS-Monterey-White' -n 'macOS-Monterey-White' -c 'macOS Monterey White Cursors' |
| 56 | + - name: Build |
| 57 | + run: yarn build |
0 commit comments