|
7 | 7 | name: "Build"
|
8 | 8 | runs-on: ubuntu-latest
|
9 | 9 | steps:
|
10 |
| - - uses: actions/checkout@v3 |
| 10 | + - uses: actions/checkout@v4 |
11 | 11 | - name: Build add-on
|
12 | 12 | run: |
|
13 | 13 | cp -R addon servo_animation
|
14 | 14 | cp README.md LICENSE servo_animation
|
15 | 15 | zip -r blender_servo_animation_addon servo_animation
|
16 | 16 | - name: Archive add-on ZIP
|
17 |
| - uses: actions/upload-artifact@v3 |
| 17 | + uses: actions/upload-artifact@v4 |
18 | 18 | with:
|
19 | 19 | name: blender_servo_animation_addon.zip
|
20 | 20 | path: |
|
|
23 | 23 | name: "Lint"
|
24 | 24 | runs-on: ubuntu-latest
|
25 | 25 | steps:
|
26 |
| - - uses: actions/checkout@v3 |
| 26 | + - uses: actions/checkout@v4 |
27 | 27 | - name: Set up Python 3.10
|
28 |
| - uses: actions/setup-python@v3 |
| 28 | + uses: actions/setup-python@v5 |
29 | 29 | with:
|
30 | 30 | python-version: "3.10"
|
31 | 31 | cache: "pip"
|
|
50 | 50 | - {version: "3.5.0", dir: "3.5"}
|
51 | 51 | - {version: "4.0.0", dir: "4.0"}
|
52 | 52 | steps:
|
53 |
| - - uses: actions/checkout@v3 |
| 53 | + - uses: actions/checkout@v4 |
54 | 54 | - name: Set up Python
|
55 |
| - uses: actions/setup-python@v3 |
| 55 | + uses: actions/setup-python@v5 |
56 | 56 | with:
|
57 | 57 | python-version: "3.10"
|
58 | 58 | cache: "pip"
|
|
62 | 62 | sudo apt-get install --no-install-recommends -y unzip wget xz-utils libxi6 libxxf86vm1 libxfixes3 libxrender1 libgl1
|
63 | 63 | - name: Restore Blender cache
|
64 | 64 | id: restore-blender-cache
|
65 |
| - uses: actions/cache/restore@v3 |
| 65 | + uses: actions/cache/restore@v4 |
66 | 66 | with:
|
67 | 67 | path: blender-${{ matrix.blender.version }}
|
68 | 68 | key: blender-${{ matrix.blender.version }}
|
|
75 | 75 | mkdir -p blender-${{ matrix.blender.version }}
|
76 | 76 | tar xf *.tar.xz -C blender-${{ matrix.blender.version }} --strip-components 1
|
77 | 77 | - name: Cache Blender
|
78 |
| - uses: actions/cache/save@v3 |
| 78 | + uses: actions/cache/save@v4 |
79 | 79 | if: steps.restore-blender-cache.outputs.cache-hit != 'true'
|
80 | 80 | with:
|
81 | 81 | path: blender-${{ matrix.blender.version }}
|
|
84 | 84 | run: |
|
85 | 85 | sudo ln -s "$(pwd)/blender-${{ matrix.blender.version }}/blender" /usr/bin/blender
|
86 | 86 | - name: Download add-on
|
87 |
| - uses: actions/download-artifact@v3 |
| 87 | + uses: actions/download-artifact@v4 |
88 | 88 | with:
|
89 | 89 | name: blender_servo_animation_addon.zip
|
90 | 90 | - name: Install add-on
|
|
0 commit comments