-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit 7ab3a17
Add explanatory comment re: release asset upload warning
The subfolders that remain in the Go release system's build output cause a bunch of warnings in the workflow run summary
and logs resulting from the step that uploads the archives as release assets:
```
Warning: Artifact is a directory:dist/serial-discovery_0.0.42_Linux_32bit/. Directories can not be uploaded to a release.
Warning: Artifact is a directory:dist/serial-discovery_0.0.42_Linux_64bit/. Directories can not be uploaded to a release.
Warning: Artifact is a directory:dist/serial-discovery_0.0.42_Linux_ARM64/. Directories can not be uploaded to a release.
Warning: Artifact is a directory:dist/serial-discovery_0.0.42_Linux_ARMv6/. Directories can not be uploaded to a release.
Warning: Artifact is a directory:dist/serial-discovery_0.0.42_Linux_ARMv7/. Directories can not be uploaded to a release.
Warning: Artifact is a directory:dist/serial-discovery_0.0.42_macOS_64bit/. Directories can not be uploaded to a release.
Warning: Artifact is a directory:dist/serial-discovery_0.0.42_Windows_32bit/. Directories can not be uploaded to a release.
Warning: Artifact is a directory:dist/serial-discovery_0.0.42_Windows_64bit/. Directories can not be uploaded to a release.
```
There is no problem because these subfolders are not intended to be added as release assets and the archives in the root
of the dist folder are uploaded, but I think these warnings might cause someone confusion far in the future when nobody
remembers exactly how these workflows work and wonders if these warnings indicate something is wrong.
I didn't find a clean solution for adjusting the artifacts input glob to exclude the subfolders so I settled on adding an
explanatory comment to the workflow.1 parent 105d08f commit 7ab3a17
1 file changed
+2
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 | + | ||
155 | + | ||
154 | 156 |
| |
155 | 157 |
| |
156 | 158 |
| |
|
0 commit comments