Repository navigation
Commit 0e071bf
authored
Fix the release artifact: .nupkgs is hidden, so it uploaded nothing (#223)
The first dry run of release.yml went green while quietly producing no artifact:
##[warning]No files were found with the provided path: .nupkgs/*.nupkg.
No artifacts will be uploaded.
The packages were built and collected correctly - the log shows
Dapper.AOT.1.1.0.nupkg and Dapper.Advisor.1.1.0.nupkg - but
actions/upload-artifact excludes hidden files by default, and `.nupkgs` is a
dot-directory, so the upload matched nothing and only warned. That would have cost
us the "packages survive a failed push" guarantee precisely when it mattered.
Dropped the dot rather than setting include-hidden-files, so it does not depend on
an action input that could change again, and left a note so nobody tidies it back.
versionHeightOffset -3 -> -4, because this is another commit on main and the target
is still 1.1.0; simulated the squash to confirm (height 4, build 0, 1.1.0).1 parent b5194b4 commit 0e071bf
2 files changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
90 | | - | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| |||
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
101 | | - | |
| 104 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments