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