Skip to content

Commit 751527d

Browse files
author
mx
committed
Fix build
1 parent 4238e09 commit 751527d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- 'v*'
77

88
jobs:
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"

0 commit comments

Comments
 (0)