fix(ci): correct artifact upload paths for Linux and Windows builds #21
release-drafter.yml
on: push
update_release_draft
4s
Annotations
2 errors and 1 warning
|
update_release_draft
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '23779513185',
name: 'push',
payload: {
after: '16cbde4d2ba024092c4dd33c1d7e1b5295d34aee',
base_ref: null,
before: '5f81ea9b0a43622fc36ae0ce307a38ea21dfa500',
commits: [
{
author: { email: 'liuboping@elex-tech.com', name: 'liuboping' },
committer: { email: 'liuboping@elex-tech.com', name: 'liuboping' },
distinct: true,
id: '16cbde4d2ba024092c4dd33c1d7e1b5295d34aee',
message: 'fix(ci): correct artifact upload paths for Linux and Windows builds\n' +
'\n' +
'- Linux: zip was created inside bundle/ dir, upload path was wrong\n' +
'- Windows: zip destination was build/windows/ instead of build/windows/x64/\n' +
"- Both caused release job glob to find no binaries, leaving only GitHub's auto-generated source archive",
timestamp: '2026-03-31T11:48:39+08:00',
tree_id: '053f92549c256d338dfa9a398913073423c0aa2f',
url: 'https://github.com/lbp0200/lbpssh/commit/16cbde4d2ba024092c4dd33c1d7e1b5295d34aee'
}
],
compare: 'https://github.com/lbp0200/lbpssh/compare/5f81ea9b0a43...16cbde4d2ba0',
created: false,
deleted: false,
forced: false,
head_commit: {
author: { email: 'liuboping@elex-tech.com', name: 'liuboping' },
committer: { email: 'liuboping@elex-tech.com', name: 'liuboping' },
distinct: true,
id: '16cbde4d2ba024092c4dd33c1d7e1b5295d34aee',
message: 'fix(ci): correct artifact upload paths for Linux and Windows builds\n' +
'\n' +
'- Linux: zip was created inside bundle/ dir, upload path was wrong\n' +
'- Windows: zip destination was build/windows/ instead of build/windows/x64/\n' +
"- Both caused release job glob to find no binaries, leaving only GitHub's auto-generated source archive",
timestamp: '2026-03-31T11:48:39+08:00',
tree_id: '053f92549c256d338dfa9a398913073423c0aa2f',
url: 'https://github.com/lbp0200/lbpssh/commit/16cbde4d2ba024092c4dd33c1d7e1b5295d34aee'
},
pusher: { email: 'lbp0408@gmail.com', name: 'lbp0200' },
ref: 'refs/heads/main',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/lbp0200/lbpssh/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/lbp0200/lbpssh/assignees{/user}',
blobs_url: 'https://api.github.com/repos/lbp0200/lbpssh/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/lbp0200/lbpssh/branches{/branch}',
clone_url: 'https://github.com/lbp0200/lbpssh.git',
collaborators_url: 'https://api.github.com/repos/lbp0200/lbpssh/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/lbp0200/lbpssh/comments{/number}',
commits_url: 'https://api.github.com/repos/lbp0200/lbpssh/commits{/sha}',
compare_url: 'https://api.github.com/repos/lbp0200/lbpssh/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/lbp0200/lbpssh/contents/{+path}',
contributors_url: 'https://api.github.com/repos/lbp0200/lbpssh/contributors',
created_at: 1768311597,
default_branch: 'main',
deployments_url: 'https://api.github.com/repos/lbp0200/lbpssh/deployments',
description: null,
disabled: false,
downloads_url: 'https://api.github.com/repos/lbp0200/lbpssh/downloads',
events_url: 'https://api.github.com/repos/lbp0200/lbpssh/events',
fork: false,
forks: 0,
forks_count: 0,
forks_url: 'https://api.github.com/repos/lbp0200/lbpssh/f
|
|
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '23779513185',
status: 403,
response: {
url: 'https://api.github.com/repos/lbp0200/lbpssh/releases',
status: 403,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 31 Mar 2026 03:48:55 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=write; contents=write,workflows=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '8C04:26FF1E:A609D:2AB1B7:69CB4427',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4994',
'x-ratelimit-reset': '1774932210',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/lbp0200/lbpssh/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/heads/main","name":"v1.2.7","tag_name":"v1.2.7","body":"## Changes\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '23779513185',
name: 'push',
payload: {
after: '16cbde4d2ba024092c4dd33c1d7e1b5295d34aee',
base_ref: null,
before: '5f81ea9b0a43622fc36ae0ce307a38ea21dfa500',
commits: [
{
author: { email: 'liuboping@elex-tech.com', name: 'liuboping' },
committer: { email: 'liuboping@elex-tech.com', name: 'liuboping' },
distinct: true,
id: '16cbde4d2ba024092c4dd33c1d7e1b5295d34aee',
message: 'fix(ci): correct artifact upload paths for Linux and Windows builds\n' +
'\n' +
'- Linux: zip was created inside bundle/ dir, upload path was wrong\n' +
'- Windows: zip destination was build/windows/ instead of build/windows/x64/\n' +
"- Both caused release job glob to find no binaries, leaving only GitHub's auto-generated source archive",
timestamp: '2026-03-31T11:48:39+08:00',
tree_id: '053f92549c256d338dfa9a398913073423c0aa2f',
url: 'https://github.com/lbp0200/lbpssh/commit/16cbde4d2ba024092c4dd33c1d7e1b5295d34aee'
}
],
compare: 'https://github.com/lbp0200/lbpssh/compare/5f81ea9b0a43...16cbde4d2ba0',
created: false,
deleted: false,
forced: false,
head_commit: {
author: { email: 'liuboping@elex-tech.com', name: 'liuboping' },
committer: { email: 'liuboping@elex-tech.com', name: 'liuboping' },
distinct: true,
id: '16cbde4d2ba024092c4dd33c1d7e1b5295d34aee',
message: 'fix(ci): correct artifact upload paths for Linux and Windows builds\n' +
'\n' +
'- Linux: zip was created inside bundle/ dir, upload path was wrong\n' +
|
|
update_release_draft
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: release-drafter/release-drafter@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|