[Artifacts] zip creation + blob storage upload functionality (#1488)

* Artifact zip creation + blob storage upload functionality

* Fix lint

* PR feedback
This commit is contained in:
Konrad Pabjan authored and GitHub committed 2023-08-10 15:28:41 -04:00
1 parent dc5b6ba8cd
commit 6d4dfd8442
6 files changed
+906 -15

No files matched your search

+6
View File
@@ -1,3 +1,9 @@
// Used for controlling the highWaterMark value of the zip that is being streamed
// The same value is used as the chunk size that is use during upload to blob storage
export function getUploadChunkSize(): number {
return 8 * 1024 * 1024 // 8 MB Chunks
}
export function getRuntimeToken(): string {
const token = process.env['ACTIONS_RUNTIME_TOKEN']
if (!token) {