From 2855582701bbf346b8a1c765b9aed2b520be6ed2 Mon Sep 17 00:00:00 2001 From: Benedith Mulongo Date: Fri, 11 Oct 2024 16:19:06 +0200 Subject: [PATCH] Fix artifacts --- .github/workflows/ci.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 414e63c..5e58b94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,13 +75,9 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - uses: actions/download-artifact@v2 - with: - path: artifacts - - - shell: bash - working-directory: artifacts - run: | - for i in $( ls ); do - cat $i/$ARTIFACT - done + - name: 'Upload Artifact' + uses: actions/upload-artifact@v4 + with: + name: my-artifact + path: my_file.txt + retention-days: 5