mirror of
https://github.com/chickensoft-games/setup-godot.git
synced 2025-08-14 12:55:08 +00:00
fix: use GitHub for downloads (#56)
* chore: update versions * fix: use GitHub for downloads
This commit is contained in:
parent
c5887a6575
commit
1af6893043
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -86,7 +86,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set Node.js 16.x
|
- name: Set Node.js 16.x
|
||||||
uses: actions/setup-node@v3.6.0
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: 16.x
|
||||||
|
|
||||||
|
@ -40,75 +40,75 @@ describe('getGodotUrl', () => {
|
|||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta1', getPlatform('linux'), true, false)
|
getGodotUrl('4.0.0-beta1', getPlatform('linux'), true, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta1/mono/Godot_v4.0-beta1_mono_linux_x86_64.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta1/Godot_v4.0-beta1_mono_linux_x86_64.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta1', getPlatform('win32'), true, false)
|
getGodotUrl('4.0.0-beta1', getPlatform('win32'), true, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta1/mono/Godot_v4.0-beta1_mono_win64.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta1/Godot_v4.0-beta1_mono_win64.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta1', getPlatform('darwin'), true, false)
|
getGodotUrl('4.0.0-beta1', getPlatform('darwin'), true, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta1/mono/Godot_v4.0-beta1_mono_macos.universal.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta1/Godot_v4.0-beta1_mono_macos.universal.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta1', getPlatform('linux'), true, true)
|
getGodotUrl('4.0.0-beta1', getPlatform('linux'), true, true)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta1/mono/Godot_v4.0-beta1_mono_export_templates.tpz'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta1/Godot_v4.0-beta1_mono_export_templates.tpz'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
test('4.0.0-beta.16', () => {
|
test('4.0.0-beta.16', () => {
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta.16', getPlatform('linux'), true, false)
|
getGodotUrl('4.0.0-beta.16', getPlatform('linux'), true, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta16/mono/Godot_v4.0-beta16_mono_linux_x86_64.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta16/Godot_v4.0-beta16_mono_linux_x86_64.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta.16', getPlatform('win32'), true, false)
|
getGodotUrl('4.0.0-beta.16', getPlatform('win32'), true, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta16/mono/Godot_v4.0-beta16_mono_win64.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta16/Godot_v4.0-beta16_mono_win64.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta.16', getPlatform('darwin'), true, false)
|
getGodotUrl('4.0.0-beta.16', getPlatform('darwin'), true, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta16/mono/Godot_v4.0-beta16_mono_macos.universal.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta16/Godot_v4.0-beta16_mono_macos.universal.zip'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
test('4.0.0-beta8', () => {
|
test('4.0.0-beta8', () => {
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta8', getPlatform('linux'), true, false)
|
getGodotUrl('4.0.0-beta8', getPlatform('linux'), true, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta8/mono/Godot_v4.0-beta8_mono_linux_x86_64.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta8/Godot_v4.0-beta8_mono_linux_x86_64.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta8', getPlatform('win32'), true, false)
|
getGodotUrl('4.0.0-beta8', getPlatform('win32'), true, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta8/mono/Godot_v4.0-beta8_mono_win64.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta8/Godot_v4.0-beta8_mono_win64.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta8', getPlatform('darwin'), true, false)
|
getGodotUrl('4.0.0-beta8', getPlatform('darwin'), true, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta8/mono/Godot_v4.0-beta8_mono_macos.universal.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta8/Godot_v4.0-beta8_mono_macos.universal.zip'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
test('4.0.0', () => {
|
test('4.0.0', () => {
|
||||||
expect(getGodotUrl('4.0.0', getPlatform('linux'), true, false)).toEqual(
|
expect(getGodotUrl('4.0.0', getPlatform('linux'), true, false)).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/mono/Godot_v4.0-stable_mono_linux_x86_64.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-stable/Godot_v4.0-stable_mono_linux_x86_64.zip'
|
||||||
)
|
)
|
||||||
expect(getGodotUrl('4.0.0', getPlatform('win32'), true, false)).toEqual(
|
expect(getGodotUrl('4.0.0', getPlatform('win32'), true, false)).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/mono/Godot_v4.0-stable_mono_win64.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-stable/Godot_v4.0-stable_mono_win64.zip'
|
||||||
)
|
)
|
||||||
expect(getGodotUrl('4.0.0', getPlatform('darwin'), true, false)).toEqual(
|
expect(getGodotUrl('4.0.0', getPlatform('darwin'), true, false)).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/mono/Godot_v4.0-stable_mono_macos.universal.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-stable/Godot_v4.0-stable_mono_macos.universal.zip'
|
||||||
)
|
)
|
||||||
expect(getGodotUrl('4.0.0', getPlatform('linux'), true, true)).toEqual(
|
expect(getGodotUrl('4.0.0', getPlatform('linux'), true, true)).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/mono/Godot_v4.0-stable_mono_export_templates.tpz'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-stable/Godot_v4.0-stable_mono_export_templates.tpz'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
test('3.5.2', () => {
|
test('3.5.2', () => {
|
||||||
expect(getGodotUrl('3.5.2', getPlatform('linux'), true, true)).toEqual(
|
expect(getGodotUrl('3.5.2', getPlatform('linux'), true, true)).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/3.5.2/mono/Godot_v3.5.2-stable_mono_export_templates.tpz'
|
'https://github.com/godotengine/godot-builds/releases/download/3.5.2-stable/Godot_v3.5.2-stable_mono_export_templates.tpz'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@ -118,49 +118,49 @@ describe('getGodotUrl', () => {
|
|||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta1', getPlatform('linux'), false, false)
|
getGodotUrl('4.0.0-beta1', getPlatform('linux'), false, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta1/Godot_v4.0-beta1_linux.x86_64.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta1/Godot_v4.0-beta1_linux.x86_64.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta1', getPlatform('win32'), false, false)
|
getGodotUrl('4.0.0-beta1', getPlatform('win32'), false, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta1/Godot_v4.0-beta1_win64.exe.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta1/Godot_v4.0-beta1_win64.exe.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta1', getPlatform('darwin'), false, false)
|
getGodotUrl('4.0.0-beta1', getPlatform('darwin'), false, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta1/Godot_v4.0-beta1_macos.universal.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta1/Godot_v4.0-beta1_macos.universal.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta1', getPlatform('darwin'), false, true)
|
getGodotUrl('4.0.0-beta1', getPlatform('darwin'), false, true)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta1/Godot_v4.0-beta1_export_templates.tpz'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta1/Godot_v4.0-beta1_export_templates.tpz'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
test('4.0.0-beta.16', () => {
|
test('4.0.0-beta.16', () => {
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta.16', getPlatform('linux'), false, false)
|
getGodotUrl('4.0.0-beta.16', getPlatform('linux'), false, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta16/Godot_v4.0-beta16_linux.x86_64.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta16/Godot_v4.0-beta16_linux.x86_64.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta.16', getPlatform('win32'), false, false)
|
getGodotUrl('4.0.0-beta.16', getPlatform('win32'), false, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta16/Godot_v4.0-beta16_win64.exe.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta16/Godot_v4.0-beta16_win64.exe.zip'
|
||||||
)
|
)
|
||||||
expect(
|
expect(
|
||||||
getGodotUrl('4.0.0-beta.16', getPlatform('darwin'), false, false)
|
getGodotUrl('4.0.0-beta.16', getPlatform('darwin'), false, false)
|
||||||
).toEqual(
|
).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/beta16/Godot_v4.0-beta16_macos.universal.zip'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-beta16/Godot_v4.0-beta16_macos.universal.zip'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
test('4.0.0', () => {
|
test('4.0.0', () => {
|
||||||
expect(getGodotUrl('4.0.0', getPlatform('linux'), false, true)).toEqual(
|
expect(getGodotUrl('4.0.0', getPlatform('linux'), false, true)).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_export_templates.tpz'
|
'https://github.com/godotengine/godot-builds/releases/download/4.0-stable/Godot_v4.0-stable_export_templates.tpz'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
test('3.5.2', () => {
|
test('3.5.2', () => {
|
||||||
expect(getGodotUrl('3.5.2', getPlatform('linux'), false, true)).toEqual(
|
expect(getGodotUrl('3.5.2', getPlatform('linux'), false, true)).toEqual(
|
||||||
'https://downloads.tuxfamily.org/godotengine/3.5.2/Godot_v3.5.2-stable_export_templates.tpz'
|
'https://github.com/godotengine/godot-builds/releases/download/3.5.2-stable/Godot_v3.5.2-stable_export_templates.tpz'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
28844
dist/index.js
generated
vendored
28844
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
158
dist/licenses.txt
generated
vendored
158
dist/licenses.txt
generated
vendored
@ -320,6 +320,28 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
@fastify/busboy
|
||||||
|
MIT
|
||||||
|
Copyright Brian White. All rights reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to
|
||||||
|
deal in the Software without restriction, including without limitation the
|
||||||
|
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||||
|
sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
|
IN THE SOFTWARE.
|
||||||
|
|
||||||
@opentelemetry/api
|
@opentelemetry/api
|
||||||
Apache-2.0
|
Apache-2.0
|
||||||
Apache License
|
Apache License
|
||||||
@ -825,95 +847,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
psl
|
|
||||||
MIT
|
|
||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2017 Lupo Montero lupomontero@gmail.com
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
punycode
|
|
||||||
MIT
|
|
||||||
Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
"Software"), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
||||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
querystringify
|
|
||||||
MIT
|
|
||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
requires-port
|
|
||||||
MIT
|
|
||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sax
|
sax
|
||||||
ISC
|
ISC
|
||||||
The ISC License
|
The ISC License
|
||||||
@ -978,22 +911,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|||||||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
tough-cookie
|
|
||||||
BSD-3-Clause
|
|
||||||
Copyright (c) 2015, Salesforce.com, Inc.
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
3. Neither the name of Salesforce.com nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
|
|
||||||
tr46
|
tr46
|
||||||
MIT
|
MIT
|
||||||
|
|
||||||
@ -1037,35 +954,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
universalify
|
undici
|
||||||
MIT
|
MIT
|
||||||
(The MIT License)
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2017, Ryan Zimmerman <opensrc@ryanzim.com>
|
Copyright (c) Matteo Collina and Undici contributors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
this software and associated documentation files (the 'Software'), to deal in
|
|
||||||
the Software without restriction, including without limitation the rights to
|
|
||||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
url-parse
|
|
||||||
MIT
|
|
||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@ -1086,7 +979,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
uuid
|
uuid
|
||||||
MIT
|
MIT
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
1281
package-lock.json
generated
1281
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -27,23 +27,23 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": "^3.1.2",
|
"@actions/cache": "^3.2.2",
|
||||||
"@actions/core": "^1.10.0",
|
"@actions/core": "^1.10.0",
|
||||||
"@actions/tool-cache": "^2.0.1",
|
"@actions/tool-cache": "^2.0.1",
|
||||||
"@types/normalize-path": "^3.0.0",
|
"@types/normalize-path": "^3.0.0",
|
||||||
"normalize-path": "^3.0.0"
|
"normalize-path": "^3.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^20.2.5",
|
"@types/node": "^20.5.7",
|
||||||
"@typescript-eslint/parser": "^5.59.8",
|
"@typescript-eslint/parser": "^5.62.0",
|
||||||
"@vercel/ncc": "^0.36.1",
|
"@vercel/ncc": "^0.36.1",
|
||||||
"eslint": "^8.41.0",
|
"eslint": "^8.48.0",
|
||||||
"eslint-plugin-github": "^4.7.0",
|
"eslint-plugin-github": "^4.7.0",
|
||||||
"eslint-plugin-jest": "^27.2.1",
|
"eslint-plugin-jest": "^27.2.1",
|
||||||
"jest": "^29.5.0",
|
"jest": "^29.5.0",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^2.8.8",
|
||||||
"ts-jest": "^29.1.0",
|
"ts-jest": "^29.1.0",
|
||||||
"typescript": "^5.0.4"
|
"typescript": "^5.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
13
src/utils.ts
13
src/utils.ts
@ -108,7 +108,8 @@ interface SemanticVersion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Godot download url prefix. */
|
/** Godot download url prefix. */
|
||||||
const GODOT_URL_PREFIX = 'https://downloads.tuxfamily.org/godotengine/'
|
const GODOT_URL_PREFIX =
|
||||||
|
'https://github.com/godotengine/godot-builds/releases/download/'
|
||||||
/** Godot filename prefix. */
|
/** Godot filename prefix. */
|
||||||
const GODOT_FILENAME_PREFIX = 'Godot_v'
|
const GODOT_FILENAME_PREFIX = 'Godot_v'
|
||||||
|
|
||||||
@ -156,12 +157,12 @@ export function getGodotUrl(
|
|||||||
if (patch !== '' && patch !== '0') {
|
if (patch !== '' && patch !== '0') {
|
||||||
url += `.${patch}`
|
url += `.${patch}`
|
||||||
}
|
}
|
||||||
url += '/'
|
|
||||||
if (label !== '') {
|
|
||||||
url += `${label}/`
|
|
||||||
}
|
|
||||||
|
|
||||||
if (useDotnet) url += `mono/`
|
if (label !== '') {
|
||||||
|
url += `-${label}/`
|
||||||
|
} else {
|
||||||
|
url += '-stable/'
|
||||||
|
}
|
||||||
|
|
||||||
if (!isTemplate)
|
if (!isTemplate)
|
||||||
return `${url}${getGodotFilename(version, platform, useDotnet)}.zip`
|
return `${url}${getGodotFilename(version, platform, useDotnet)}.zip`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user