libsdl-org / setup-sdl

GitHub action for providing SDL.
The Unlicense
24 stars 2 forks source link

cannot install SDL3 head #26

Closed kiber-pacan closed 2 months ago

kiber-pacan commented 2 months ago

I got this error

Error: Cannot convert version (Unable to extract patch SDL version from /tmp/setupsdl/e50128d104f1b7d51be7b6cbacc5161f87869b76c56c8491092e2f4381d89496/package/include/SDL3/SDL_version.h) to MAJOR.MINOR.PATCH

The error is probably related to this commit https://github.com/libsdl-org/SDL/commit/661f2fc1fca76f79f536919fefe5887a875b6afb

madebr commented 2 months ago

Are you using a v1 tag? I just moved it to current main.

kiber-pacan commented 2 months ago

do you mean this libsdl-org/setup-sdl@v1 <--?

madebr commented 2 months ago

Yup!

kiber-pacan commented 2 months ago

i got another error

/home/runner/work/_actions/libsdl-org/setup-sdl/v1/packed/index.js:46448
    throw new import_request_error.RequestError(message, 500, {
          ^
RequestError [HttpError]: other side closed
    at /home/runner/work/_actions/libsdl-org/setup-sdl/v1/packed/index.js:46448:11 {
  status: 500,
  request: {
    method: 'GET',
    url: 'https://api.github.com/repos/libsdl-org/SDL/zipball/70727d36b28d90127049a9c23e10d395a0f39876',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'octokit-rest.js/20.0.2 octokit-core.js/5.0.2 Node.js/20.13.1 (linux; x64)',
      authorization: 'token [REDACTED]'
    },
    request: { hook: [Function: bound bound register] }
  }
}
kiber-pacan commented 2 months ago

sorry im just stupid, everything works now