Update publishing.yml

This commit is contained in:
Jett 2023-05-09 23:28:38 +01:00 committed by GitHub
parent f4bb7c8b0c
commit 180b1d1bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,11 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
for file in artifacts/*; do zip ${file%.*}.zip $file; done cd artifacts
for folder in */; do
zip -r "${folder%/}.zip" "$folder"
done
ls
for file in *.zip; do for file in *.zip; do
echo "Uploading $file" echo "Uploading $file"
curl --progress-bar \ curl --progress-bar \