Skip to content

Commit

Permalink
try zip and upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sdcb committed Feb 13, 2025
1 parent 4aef0c5 commit 319c48c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,16 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4

- name: zip chats artifacts
run: |
for dir in chats*; do
if [ -d "$dir" ]; then
echo "Zipping $dir"
zip -r "${dir}.zip" "$dir"
fi
done
sha256sum chats*.zip > sha256sum.txt
- name: Get changes
run: |
CURRENT_REV=$(git rev-parse HEAD)
Expand Down Expand Up @@ -317,7 +327,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
name: r-${{ github.run_number }}
tag: r-${{ github.run_number }}
artifacts: chats*
artifacts: "chats*.zip, sha256sum.txt"
draft: true

upload-minio-latest:
Expand Down

0 comments on commit 319c48c

Please sign in to comment.