Simplify windows release job

This commit is contained in:
Cal Stephens
2025-09-24 09:59:01 -07:00
committed by Cal Stephens
parent 08c51ce965
commit ffd1920886
+2 -7
View File
@@ -92,14 +92,9 @@ jobs:
pattern: SwiftFormat.*.msi
- name: Display structure of downloaded files
run: ls -R downloaded-artifacts
- name: Move and rename MSI files to workspace root
- name: Move MSI files to workspace root
run: |
for dir in downloaded-artifacts/SwiftFormat.*.msi; do
basename="$(basename "$dir")" # SwiftFormat.amd64.msi
arch="${basename#SwiftFormat.}" # amd64.msi
arch="${arch%.msi}" # amd64
mv "$dir/SwiftFormat.msi" "./SwiftFormat.${arch}.msi"
done
mv downloaded-artifacts/*/*.msi ./
rm -rf downloaded-artifacts
- name: Display structure of uploadable files
run: ls -R .