diff --git a/.github/workflows/artifact.yml b/.github/workflows/artifact.yml index 4d356aa5..623ab3d4 100644 --- a/.github/workflows/artifact.yml +++ b/.github/workflows/artifact.yml @@ -17,4 +17,16 @@ jobs: uses: actions/upload-artifact@v2 with: name: hello-artifact - path: hello.txt \ No newline at end of file + path: hello.txt + + download: + needs: [build] + runs-on: ubuntu-latest + + steps: + - uses: actions/download-artifact@v2 + with: + name: hello-artifact + path: ./artifacts + + - run: cat ./artifacts/hello.txt \ No newline at end of file