File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 5757 echo "Found platforms: $PLATFORMS_JSON"
5858 echo "platforms=$PLATFORMS_JSON" >> $GITHUB_OUTPUT
5959
60+ - name: Upload all platform zips as a single artifact
61+ if: always()
62+ uses: actions/upload-artifact@v4
63+ with:
64+ name: aml-zips
65+ path: artifacts/*.zip
6066 upload:
6167 name: Upload platform artifacts
6268 needs: build
@@ -66,12 +72,22 @@ jobs:
6672 matrix:
6773 platform: ${{ fromJson(needs.build.outputs.platforms) }}
6874 steps:
69- - name: Ensure artifacts exist
75+ - name: Download zips artifact from build job
76+ uses: actions/download-artifact@v4
77+ with:
78+ name: aml-zips
79+ path: downloaded_artifacts
80+
81+ - name: Ensure platform zip exists
7082 run: |
71- ls -al artifacts || true
83+ ls -al downloaded_artifacts || true
84+ if [ ! -f "downloaded_artifacts/${{ matrix.platform }}.zip" ]; then
85+ echo "Platform zip not found: downloaded_artifacts/${{ matrix.platform }}.zip"
86+ false
87+ fi
7288
7389 - name: Upload artifact for platform
7490 uses: actions/upload-artifact@v4
7591 with:
7692 name: ${{ matrix.platform }}
77- path: artifacts /${{ matrix.platform }}.zip
93+ path: downloaded_artifacts /${{ matrix.platform }}.zip
You can’t perform that action at this time.
0 commit comments