feat(ci): extract downloaded artifacts

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-06-15 22:14:01 +05:00
parent 6a648a2a8d
commit 14687d12ca

View File

@ -145,13 +145,20 @@ jobs:
- name: Install required dependencies - name: Install required dependencies
run: | run: |
sudo apt update sudo apt update
sudo apt install -y original-awk sudo apt install -y original-awk unzip
- name: Download all artifacts - name: Download all artifacts
uses: https://gitea.com/actions/download-artifact@v3 uses: https://gitea.com/actions/download-artifact@v3
with: with:
path: release/ path: release/
- name: Extract downloaded artifacts
run: |
mkdir -p extracted
find release/ -name '*.zip' -exec unzip -o {} -d extracted/ \;
find extracted/ -type f -exec mv {} release/ \;
rm -rf extracted/
- name: Extract changelog for version - name: Extract changelog for version
id: changelog id: changelog
run: | run: |
@ -163,7 +170,7 @@ jobs:
with: with:
body_path: changelog.txt body_path: changelog.txt
token: ${{ env.GITEA_TOKEN }} token: ${{ env.GITEA_TOKEN }}
tag_name: ${{ env.VERSION }} tag_name: v${{ env.VERSION }}
prerelease: true prerelease: true
files: release/**/* files: release/**/*
sha256sum: true sha256sum: true