Skip to content

Commit 78f2167

Browse files
committed
Fix release workflow to use distinct artifact names
1 parent 4bf0e1b commit 78f2167

File tree

1 file changed

+33
-4
lines changed

1 file changed

+33
-4
lines changed

.github/workflows/release.yml

+33-4
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,11 @@ jobs:
117117
working-directory: _package
118118
119119
# Upload runner package tar.gz/zip as artifact.
120-
# Since each package name is unique, so we don't need to put ${{matrix}} info into artifact name
121120
- name: Publish Artifact
122121
if: github.event_name != 'pull_request'
123122
uses: actions/upload-artifact@v4
124123
with:
125-
name: runner-packages
124+
name: runner-packages-${{ matrix.runtime }}
126125
path: |
127126
_package
128127
@@ -134,10 +133,40 @@ jobs:
134133
- uses: actions/checkout@v3
135134

136135
# Download runner package tar.gz/zip produced by 'build' job
137-
- name: Download Artifact
136+
- name: Download Artifact (win-x64)
138137
uses: actions/download-artifact@v4
139138
with:
140-
name: runner-packages
139+
name: runner-packages-win-x64
140+
path: ./
141+
- name: Download Artifact (win-arm64)
142+
uses: actions/download-artifact@v4
143+
with:
144+
name: runner-packages-win-arm64
145+
path: ./
146+
- name: Download Artifact (osx-x64)
147+
uses: actions/download-artifact@v4
148+
with:
149+
name: runner-packages-osx-x64
150+
path: ./
151+
- name: Download Artifact (osx-arm64)
152+
uses: actions/download-artifact@v4
153+
with:
154+
name: runner-packages-osx-arm64
155+
path: ./
156+
- name: Download Artifact (linux-x64)
157+
uses: actions/download-artifact@v4
158+
with:
159+
name: runner-packages-linux-x64
160+
path: ./
161+
- name: Download Artifact (linux-arm)
162+
uses: actions/download-artifact@v4
163+
with:
164+
name: runner-packages-linux-arm
165+
path: ./
166+
- name: Download Artifact (linux-arm64)
167+
uses: actions/download-artifact@v4
168+
with:
169+
name: runner-packages-linux-arm64
141170
path: ./
142171

143172
# Create ReleaseNote file

0 commit comments

Comments
 (0)