@@ -57,10 +57,12 @@ jobs:
5757 with :
5858 node-version : " 18"
5959
60+ # @TODO Cache the compiled python modules (not just the downloads)
6061 - name : Set up Python
6162 uses : actions/setup-python@v4
6263 with :
6364 python-version : " 3.12"
65+ cache : " pip"
6466
6567 - name : Set up pip for Python
6668 shell : bash
@@ -123,7 +125,7 @@ jobs:
123125 if : startsWith(runner.os, 'Windows')
124126 run : |
125127 mkdir -p ./artifacts/windows-latest
126- powershell Compress-Archive -Path src-tauri/target/release/bundle/nsis/* -DestinationPath ./artifacts/windows-latest/windows-latest-artifacts.zip
128+ Compress-Archive -Path src-tauri/target/release/bundle/nsis/* -DestinationPath ./artifacts/windows-latest/windows-latest-artifacts.zip
127129
128130 # Zip all files/folders in /bundle/src-tauri/target/release/bundle/dmg and put in /artifacts/macos-latest/
129131 - name : Zip assets (macOS)
@@ -142,7 +144,7 @@ jobs:
142144 zip -r ./artifacts/${{ matrix.os }}/${{ matrix.os }}-artifacts.zip src-tauri/target/release/bundle/deb/*.deb
143145
144146 - name : Upload artifact
145- uses : actions/upload-artifact@v3
147+ uses : actions/upload-artifact@v4
146148 with :
147149 name : ${{ matrix.os }}-artifact
148150 path : ./artifacts/${{ matrix.os }}/${{ matrix.os }}-artifacts.zip # upload from
@@ -154,21 +156,21 @@ jobs:
154156 steps :
155157 - name : Download Linux artifact
156158 if : always()
157- uses : actions/download-artifact@v3
159+ uses : actions/download-artifact@v4
158160 with :
159161 name : ubuntu-latest-artifact
160162 path : ./artifacts/ubuntu
161163
162164 - name : Download macOS artifact
163165 if : always()
164- uses : actions/download-artifact@v3
166+ uses : actions/download-artifact@v4
165167 with :
166168 name : macos-latest-artifact
167169 path : ./artifacts/macos
168170
169171 - name : Download Windows artifact
170172 if : always()
171- uses : actions/download-artifact@v3
173+ uses : actions/download-artifact@v4
172174 with :
173175 name : windows-latest-artifact
174176 path : ./artifacts/windows
0 commit comments