mirror of
https://code.forgejo.org/actions/setup-python.git
synced 2026-03-21 22:45:55 +03:00
add licenses
This commit is contained in:
parent
71940d6132
commit
5dd8329ef6
10 changed files with 52 additions and 58 deletions
|
|
@ -24,7 +24,8 @@ export async function installPyPy(
|
|||
) {
|
||||
let downloadDir;
|
||||
|
||||
releases ??= await getAvailablePyPyVersions();
|
||||
releases = releases ?? (await getAvailablePyPyVersions());
|
||||
|
||||
if (!releases || releases.length === 0) {
|
||||
throw new Error('No release was found in PyPy version.json');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue