Skip to content

Commit cf4e610

Browse files
authored
Update build.yml
1 parent 7ad47ea commit cf4e610

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
8585
- name: Archive
8686
run: |
87-
python3 dart-sdk/sdk/tools/linux_dist_support/create_tarball.py --tar_filename dart-${{ inputs.ref }}-${{ matrix.host-arch }}.tar.gz
87+
tar -czf dart-${{ inputs.ref }}-${{ matrix.host-arch }}.tar.gz dart-sdk
8888
8989
- name: Upload Artifact
9090
uses: actions/upload-artifact@v4
@@ -135,10 +135,7 @@ jobs:
135135

136136
- name: Unarchive
137137
run: |
138-
mkdir dart-sdk
139-
cd dart-sdk
140-
tar -xzf ../dart-${{ inputs.ref }}-${{ matrix.host-arch }}.tar.gz --strip-components=1
141-
mv dart sdk
138+
tar -xzf dart-${{ inputs.ref }}-${{ matrix.host-arch }}.tar.gz
142139
143140
- name: Verify Checked-in Dart SDK
144141
run: |

0 commit comments

Comments
 (0)