Skip to content

Commit

Permalink
feat: handle both zip and gz files
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef authored Dec 15, 2023
1 parent d37e6b7 commit 9e810a2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ jobs:
- name: Unzip artifacts
run: |
for file in massa_artifacts_*; do
unzip "$file" -d massa_release/
if [[ "$file" == *.zip ]]; then
unzip "$file" -d massa_release/
elif [[ "$file" == *.tar.gz ]]; then
tar -xzf "$file" -C massa_release/
fi
done
- name: Generate checksums file
uses: jmgilman/actions-generate-checksum@v1
Expand Down

0 comments on commit 9e810a2

Please sign in to comment.