File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,18 @@ jobs:
112112 with :
113113 path : ./artifacts
114114
115+ - name : Prepare release assets
116+ run : |
117+ # Rename artifacts to have unique names with platform identifiers
118+ mkdir -p release-assets
119+ mv artifacts/tuisic-linux-x64/tuisic release-assets/tuisic-linux-x64
120+ mv artifacts/tuisic-macos-x64/tuisic release-assets/tuisic-macos-x64
121+ mv artifacts/tuisic-macos-arm64/tuisic release-assets/tuisic-macos-arm64
122+ # Make all binaries executable
123+ chmod +x release-assets/*
124+ # List files for debugging
125+ ls -lh release-assets/
126+
115127 - name : Generate changelog
116128 id : changelog
117129 run : |
@@ -139,14 +151,16 @@ jobs:
139151 body : |
140152 ## Changes
141153 ${{ steps.changelog.outputs.changelog }}
142-
154+
143155 ## Downloads
144156 Download the appropriate binary for your platform:
145157 - **Linux (x64)**: tuisic-linux-x64
146158 - **macOS (Intel)**: tuisic-macos-x64
147159 - **macOS (Apple Silicon)**: tuisic-macos-arm64
148160 files : |
149- artifacts/*/tuisic*
161+ release-assets/tuisic-linux-x64
162+ release-assets/tuisic-macos-x64
163+ release-assets/tuisic-macos-arm64
150164 draft : false
151165 prerelease : false
152166 env :
You can’t perform that action at this time.
0 commit comments