@@ -127,12 +127,18 @@ jobs:
127127 echo "artifact_path=src-tauri/target/release/bundle/" >> $GITHUB_ENV
128128 fi
129129
130+ - name : Debug artifact directory
131+ shell : bash
132+ run : |
133+ echo "Contents of ${{ env.artifact_path }}:"
134+ ls -la ${{ env.artifact_path }}
135+
130136 # Zip all files/folders in env.artifact_path and put in /artifacts/{os}/
131137 - name : Zip assets
132138 shell : bash
133139 run : |
134140 mkdir -p ./artifacts/${{ matrix.os }}
135- zip -j ./artifacts/${{ matrix.os }}/${{ matrix.os }}-artifacts.zip ${{ env.artifact_path }}
141+ zip -r ./artifacts/${{ matrix.os }}/${{ matrix.os }}-artifacts.zip ${{ env.artifact_path }}
136142
137143 - name : Upload artifact
138144 uses : actions/upload-artifact@v3
@@ -173,7 +179,7 @@ jobs:
173179 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
174180 with :
175181 upload_url : ${{ needs.create_release.outputs.release_upload_url }}
176- asset_path : ./artifacts/ubuntu/ubuntu-artifacts.zip # file location
182+ asset_path : ./artifacts/ubuntu-latest /ubuntu-latest -artifacts.zip # file location
177183 asset_name : tauri-python-sidecar_linux-setup.zip # display name on release page (not file name)
178184 asset_content_type : application/zip
179185
@@ -184,7 +190,7 @@ jobs:
184190 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
185191 with :
186192 upload_url : ${{ needs.create_release.outputs.release_upload_url }}
187- asset_path : ./artifacts/macos/macos-artifacts.zip # file location
193+ asset_path : ./artifacts/macos-latest /macos-latest -artifacts.zip # file location
188194 asset_name : tauri-python-sidecar_macos-setup.zip # display name on release page (not file name)
189195 asset_content_type : application/zip
190196
@@ -195,6 +201,6 @@ jobs:
195201 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
196202 with :
197203 upload_url : ${{ needs.create_release.outputs.release_upload_url }}
198- asset_path : ./artifacts/windows/windows-artifacts.zip # file location
204+ asset_path : ./artifacts/windows-latest /windows-latest -artifacts.zip # file location
199205 asset_name : tauri-python-sidecar_windows-setup.zip # display name on release page (not file name)
200206 asset_content_type : application/zip
0 commit comments