From cf030457e062a6a677488493dee9720ec6ff8737 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Fri, 8 Sep 2023 21:55:28 +0000 Subject: [PATCH] feat: test upload artifact --- .github/workflows/tests.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5c65650dfa..479442fd68 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -51,6 +51,7 @@ jobs: - name: Cache Docker Image uses: actions/cache@v3 with: + key: ${{ env.TAG }} path: /tmp/${{ env.TAG }}.tar # - name: Upload Docker Image @@ -71,11 +72,17 @@ jobs: fetch-depth: 1 submodules: recursive - - name: Download artifact - uses: actions/download-artifact@v3 + # - name: Download artifact + # uses: actions/download-artifact@v3 + # with: + # name: ${{ env.TAG }} + # path: /tmp + + - name: Get Cached Docker Image + uses: actions/cache@v3 with: - name: ${{ env.TAG }} - path: /tmp + key: ${{ env.TAG }} + path: /tmp/${{ env.TAG }}.tar - name: Load Docker image run: |