From bd5d810f573df368256af59368de17672b86aeae Mon Sep 17 00:00:00 2001 From: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com> Date: Sat, 10 Dec 2022 16:42:54 +0100 Subject: [PATCH] Update artifact-tests.yml --- .github/workflows/artifact-tests.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/artifact-tests.yml b/.github/workflows/artifact-tests.yml index c0159ed2..b6200ac4 100644 --- a/.github/workflows/artifact-tests.yml +++ b/.github/workflows/artifact-tests.yml @@ -58,6 +58,13 @@ jobs: echo ${{ env.non-gzip-artifact-content }} > artifact-path/world.txt echo ${{ env.gzip-artifact-content }} > artifact-path/gzip.txt touch artifact-path/empty.txt + + - name: Add additional logging after create + shell: bash + run: | + cat ./artifact-path/world.txt + cat ./artifact-path/gzip.txt + cat ./artifact-path/empty.txt # We're using node -e to call the functions directly available in the @actions/artifact package - name: Upload artifacts using uploadArtifact() @@ -74,7 +81,14 @@ jobs: node -e "Promise.resolve(require('./packages/artifact/lib/artifact-client').create().downloadArtifact('my-artifact-2','artifact-2-directory'))" mkdir artifact-3-directory node -e "Promise.resolve(require('./packages/artifact/lib/artifact-client').create().downloadArtifact('my-artifact-3','artifact-3-directory'))" - + + - name: Add additional logging + shell: bash + run: | + cat ./artifact-1-directory/artifact-path/world.txt + cat ./artifact-2-directory/artifact-path/gzip.txt + cat ./artifact-3-directory/artifact-path/empty.txt + - name: Verify downloadArtifact() shell: bash run: |