Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvensson committed Nov 24, 2024
1 parent 804d254 commit 2faa55b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,18 @@ jobs:
for artifact in artifacts/*/*; do
artifact_file=$(basename "${artifact}")
artifact_dir=$(dirname "${artifact}")
IFS='-' read -r ezq os arch <<< "${artifact_dir}"
echo $ezq $os $arch $artifact_file $artifact_dir
mkdir -p "${main_dir}/${os}/${arch}" "${latest_dir}/${os}/${arch}"
cp "${artifact}" "${main_dir}/${os}/${arch}/${prefix}${artifact_file}"
cp "${artifact}" "${latest_dir}/${os}/${arch}/${artifact_file}"
(
cd "${artifact_dir}"
md5 "${artifact_file}" > "${artifact_file}.md5"
)
cp "${artifact}"* "${main_dir}/${os}/${arch}/${prefix}${artifact_file}"
cp "${artifact}"* "${latest_dir}/${os}/${arch}/${artifact_file}"
done
find ${upload_dir}
Expand Down

0 comments on commit 2faa55b

Please sign in to comment.