From 494f241b710c83f3dc4f0a42037f909332e4ce0e Mon Sep 17 00:00:00 2001 From: Austin Sasko Date: Mon, 22 Aug 2022 14:16:35 -0400 Subject: [PATCH] test --- .github/workflows/test.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d7fae4..d551cab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,9 @@ jobs: with: node-version: 12.x - - run: wget https://github.com/yourkin/fileupload-fastapi/raw/a85a697cab2f887780b3278059a0dd52847d80f3/tests/data/test-5mb.bin + - run: | + wget https://github.com/yourkin/fileupload-fastapi/raw/a85a697cab2f887780b3278059a0dd52847d80f3/tests/data/test-10mb.bin + wget https://github.com/yourkin/fileupload-fastapi/raw/a85a697cab2f887780b3278059a0dd52847d80f3/tests/data/test-5mb.bin # Test end-to-end by uploading two artifacts and then downloading them # Once upload-artifact v2 is out of preview, switch over - name: Create artifacts @@ -36,12 +38,14 @@ jobs: mkdir -p path/to/artifact-B echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt echo "Hello world from file B" > path/to/artifact-B/file-B.txt + mkdir bins + mv *.bin bins/ - name: Upload both art uses: actions/upload-artifact@v2 with: - name: '5mb' - path: test-5mb.bin + name: bins + path: ./bins/ - name: Upload artifact A uses: actions/upload-artifact@v2