Skip to content

Commit bb6e987

Browse files
committed
Exclude externals/distfiles from intermediate tarballs
It will be restored from cache anyway.
1 parent 9179f4b commit bb6e987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/bwrap.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
name: packages
5252
path: tmp/external/repo/**
5353
- name: Tar pass1 image
54-
run: tar -cf pass1_image.tar tmp
54+
run: tar -cf pass1_image.tar --exclude "tmp/external/distfiles" tmp
5555
- name: Archive pass1_image
5656
uses: actions/upload-artifact@v3
5757
with:
@@ -104,7 +104,7 @@ jobs:
104104
name: internal_packages_pass2
105105
path: tmp/external/repo/**
106106
- name: Tar pass2 image
107-
run: tar -cf pass2_image.tar tmp
107+
run: tar -cf pass2_image.tar --exclude "tmp/external/distfiles" tmp
108108
- name: Archive pass2_image
109109
uses: actions/upload-artifact@v3
110110
with:

0 commit comments

Comments
 (0)