Skip to content

Commit

Permalink
chore: install unzip for artifact extraction in ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsviz committed Oct 30, 2024
1 parent a989e4d commit 9460e18
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ jobs:
path: /root/.m2 # path to cache
key: ${{ runner.os }}-junit-${{ hashFiles('**/pom.xml') }} # key for restoring and saving the cache
restore-keys: ${{ runner.os }}-junit- # key for restoring the cache if no exact match is found

- name: Install unzip
run: sudo apt-get install -y unzip

# In this step, we are downloading the latest artifact from the build job and storing it in the container
- name: Download and unzip all test results artifacts
run: |
Expand Down Expand Up @@ -202,7 +206,7 @@ jobs:
echo "Contents of my_artifact.zip for artifact ID: $ARTIFACT_ID"
unzip -l my_artifact.zip
unzip my_artifact.zip -d test_results 2> /dev/null || true
echo "Contents of test_results directory for artifact ID: $ARTIFACT_ID"
ls -l test_results
Expand Down

0 comments on commit 9460e18

Please sign in to comment.