Skip to content

Commit 2ceb20c

Browse files
committed
Fix artifact upload path: place release manifest inside packages directory
The multi-path upload caused nested directory structure on download. Move ReleaseManifestFile into PackagesDirectory so all release artifacts share a single upload path. Made-with: Cursor
1 parent d4b02e0 commit 2ceb20c

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,7 @@ jobs:
175175
uses: actions/upload-artifact@v7
176176
with:
177177
name: packages
178-
path: |
179-
artifacts/packages/**
180-
artifacts/release-manifest.json
178+
path: artifacts/packages/**
181179
if-no-files-found: error
182180

183181
- name: Upload app artifacts

build/BuildTask.Parameters.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ partial class BuildTask
3939
AbsolutePath PackagesDirectory => ArtifactsDirectory / "packages";
4040
AbsolutePath PublishDirectory => ArtifactsDirectory / "publish";
4141

42-
AbsolutePath ReleaseManifestFile => ArtifactsDirectory / "release-manifest.json";
42+
AbsolutePath ReleaseManifestFile => PackagesDirectory / "release-manifest.json";
4343
AbsolutePath BuildOutputsMarkerFile => ArtifactsDirectory / ".build-outputs" / "build-outputs.json";
4444
AbsolutePath ToolManifestFile => RootDirectory / ".config" / "dotnet-tools.json";
4545
AbsolutePath DirectoryBuildPropsFile => RootDirectory / "Directory.Build.props";

0 commit comments

Comments
 (0)