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:
121
121
- name : Archive
122
122
run : |
123
123
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 }}/")"' --
124
125
125
126
- name : Generate artifact attestation
126
127
if : github.ref_type == 'tag'
127
128
uses : actions/attest-build-provenance@v2
128
129
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 }}_*
130
134
131
135
- name : Upload Artifact
132
136
uses : actions/upload-artifact@v4
133
137
with :
134
138
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 }}_*
136
143
if-no-files-found : error
137
144
compression-level : 0
138
145
You can’t perform that action at this time.
0 commit comments