File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -122,13 +122,27 @@ jobs:
122122 id : version
123123 run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
124124
125+ - name : List available artifacts
126+ run : |
127+ echo "Available artifacts in dist/:"
128+ find dist/ -type f -ls
129+
125130 - name : Create release with scanned artifacts
126131 run : |
127- # Create the release with only the tar.gz files
132+ # Collect standard release artifacts (archives and checksums)
133+ ARTIFACTS=$(find dist/ \( -name "*.tar.gz" -o -name "checksums.txt" \) -type f | tr '\n' ' ')
134+
135+ echo "Artifacts to upload: $ARTIFACTS"
136+
137+ if [ -z "$ARTIFACTS" ]; then
138+ echo "❌ No artifacts found to upload!"
139+ exit 1
140+ fi
141+
128142 gh release create ${{ steps.version.outputs.VERSION }} \
129143 --title "Release ${{ steps.version.outputs.VERSION }}" \
130144 --generate-notes \
131- $(find dist/ -name "*.tar.gz" | tr '\n' ' ')
145+ $ARTIFACTS
132146 env :
133147 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
134148
You can’t perform that action at this time.
0 commit comments