gabrielfalcao / pyenv-action

Enables pyenv within your github actions workflow
MIT License
39 stars 17 forks source link

v18 and v17 dist/index.js identical #440

Open graingert-coef opened 5 months ago

graingert-coef commented 5 months ago

there's no change to dist/index.js in https://github.com/gabrielfalcao/pyenv-action/compare/v17...v18 this results in v2.3.28 being installed and Python 3.12.1 being unavailable

Run gabrielfalcao/pyenv-action@v18
downloading https://github.com/pyenv/pyenv/archive/v2.3.28.zip
/usr/bin/unzip -o -q /opt/hostedtoolcache/pyenv-archive.zip/2.3.28/x64/pyenv-archive.zip
Extracted /opt/hostedtoolcache/pyenv-archive.zip/2.3.28/x64/pyenv-archive.zip to /home/runner/work/_temp/28fa30b0-90aa-4733-a1db-257364a99999.
archive_path /opt/hostedtoolcache/pyenv-archive.zip/2.3.28/x64/pyenv-archive.zip
pyenv_root /opt/hostedtoolcache/pyenv_root/2.3.28/x64
export PYENV_ROOT="/opt/hostedtoolcache/pyenv_root/2.3.28/x64"
Patched PATH with "/opt/hostedtoolcache/pyenv_root/2.3.28/x64/bin"
/opt/hostedtoolcache/pyenv_root/2.3.28/x64/bin/pyenv install 3.12.1
python-build: definition not found: 3.12.1

See all available versions with `pyenv install --list'.

If the version you need is missing, try upgrading pyenv.
Failed to install python 3.12.1
Error: The process '/opt/hostedtoolcache/pyenv_root/2.3.28/x64/bin/pyenv' failed with exit code 2

it looks like npm run release failed with:

> pyenv-action@16 build
> tsc

node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts:1:15 - error TS1005: ',' expected.

1 import { type PaginatingEndpoints } from "./generated/paginating-endpoints.js";
                ~~~~~~~~~~~~~~~~~~~

Found 1 error.

this is new typescript syntax that's parsed by typescrypt v5