File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -121,18 +121,25 @@ jobs:
121121 - name : Archive
122122 run : |
123123 tar -czf dartsdk-android-${{ matrix.target-arch }}-release.tar.gz -C dart-sdk/sdk/out/Release* -- dart-sdk
124+ find dart-sdk/sdk/out/Release*/exe.stripped \( -name dartaotruntime_product -o -name 'gen_snapshot_product_*' \) -not -name gen_snapshot_product_android_${{ matrix.target-arch }} -print0 | xargs -0 -n 1 -- sh -c 'cp "$1" "$(basename "$1" | sed -e "s/product/android_${{ matrix.target-arch }}/")"' --
124125
125126 - name : Generate artifact attestation
126127 if : github.ref_type == 'tag'
127128 uses : actions/attest-build-provenance@v2
128129 with :
129- subject-path : dartsdk-android-${{ matrix.target-arch }}-release.tar.gz
130+ subject-path : |
131+ dartsdk-android-${{ matrix.target-arch }}-release.tar.gz
132+ dartaotruntime_android_${{ matrix.target-arch }}
133+ gen_snapshot_android_${{ matrix.target-arch }}_*
130134
131135 - name : Upload Artifact
132136 uses : actions/upload-artifact@v4
133137 with :
134138 name : dartsdk-android-${{ matrix.target-arch }}-${{ inputs.ref }}
135- path : dartsdk-android-${{ matrix.target-arch }}-release.tar.gz
139+ path : |
140+ dartsdk-android-${{ matrix.target-arch }}-release.tar.gz
141+ dartaotruntime_android_${{ matrix.target-arch }}
142+ gen_snapshot_android_${{ matrix.target-arch }}_*
136143 if-no-files-found : error
137144 compression-level : 0
138145
You can’t perform that action at this time.
0 commit comments