File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 66 - ' v*'
77
88jobs :
9+ # --- JOB 1: Build binaries for all target platforms ---
910 build :
1011 name : Build for ${{ matrix.os }}/${{ matrix.arch }}
1112 strategy :
@@ -88,10 +89,10 @@ jobs:
8889 - name : Upload Artifact
8990 uses : actions/upload-artifact@v4
9091 with :
91- # --- Use a unique name for each platform build ---
92- name : flint-binaries-${{ matrix.os }}-${{ matrix.arch }}
92+ name : flint-binary-${{ matrix.os }}-${{ matrix.arch }}
9393 path : flint-${{ matrix.os }}-${{ matrix.arch }}.zip
9494
95+ # --- JOB 2: Create the GitHub Release after all builds are done ---
9596 release :
9697 name : Create GitHub Release
9798 needs : build
@@ -102,9 +103,14 @@ jobs:
102103 steps :
103104 - name : Download all build artifacts
104105 uses : actions/download-artifact@v4
105- path : artifacts
106+ # No 'path' property here. This downloads all artifacts from the run
107+ # into folders named after the artifacts in the current directory.
108+
109+ - name : Display structure of downloaded files (for debugging)
110+ run : ls -R
106111
107112 - name : Create Release and Upload Assets
108113 uses : softprops/action-gh-release@v2
109114 with :
110- files : artifacts/* # changed from artifacts/*.zip
115+ # The '**' glob recursively finds all .zip files to upload to the release.
116+ files : " **/*.zip"
You can’t perform that action at this time.
0 commit comments