Commit faf76ec
committed
perf(github-actions): compress preview artifacts before uploading
The `actions/upload` infrastructure will upload all files individually,
but we can compress it directly beforehand and just upload a single
smaller file.
This means that we need to unzip -> and then untar as GitHub
always zips up the artifacts regardless when they are uploaded.
This is expected and recommended as per:
https://github.com/actions/upload-artifact1 parent c3339f5 commit faf76ec
File tree
2 files changed
+16
-2
lines changed- github-actions/deploy-previews
- pack-and-upload-artifact
- upload-artifacts-to-firebase
2 files changed
+16
-2
lines changedLines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
58 | | - | |
| 67 | + | |
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
0 commit comments