mirror of
https://github.com/actions/node-versions.git
synced 2025-12-15 21:37:34 +08:00
Compare commits
3 Commits
20.9.0-678
...
20.10.0-69
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb598e8c31 | ||
|
|
a798c8ed46 | ||
|
|
9d10c5b01a |
@@ -54,7 +54,7 @@ class NixNodeBuilder : NodeBuilder {
|
||||
$installationTemplateLocation = Join-Path -Path $this.InstallationTemplatesLocation -ChildPath $this.InstallationTemplateName
|
||||
|
||||
$installationTemplateContent = Get-Content -Path $installationTemplateLocation -Raw
|
||||
$installationTemplateContent = $installationTemplateContent -f $this.Version.ToString(3)
|
||||
$installationTemplateContent = $installationTemplateContent -f $this.Version.ToString(3), $this.Architecture
|
||||
$installationTemplateContent | Out-File -FilePath $installationScriptLocation
|
||||
|
||||
Write-Debug "Done; Installation script location: $installationScriptLocation)"
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
set -e
|
||||
|
||||
NODE_VERSION={0}
|
||||
ARCH={1}
|
||||
|
||||
NODE_TOOLCACHE_PATH=$AGENT_TOOLSDIRECTORY/node
|
||||
NODE_TOOLCACHE_VERSION_PATH=$NODE_TOOLCACHE_PATH/$NODE_VERSION
|
||||
NODE_TOOLCACHE_VERSION_ARCH_PATH=$NODE_TOOLCACHE_VERSION_PATH/x64
|
||||
NODE_TOOLCACHE_VERSION_ARCH_PATH=$NODE_TOOLCACHE_VERSION_PATH/$ARCH
|
||||
|
||||
echo "Check if Node.js hostedtoolcache folder exist..."
|
||||
if [ ! -d $NODE_TOOLCACHE_PATH ]; then
|
||||
@@ -22,4 +23,4 @@ cp -R ./* $NODE_TOOLCACHE_VERSION_ARCH_PATH
|
||||
rm $NODE_TOOLCACHE_VERSION_ARCH_PATH/setup.sh
|
||||
|
||||
echo "Create complete file"
|
||||
touch $NODE_TOOLCACHE_VERSION_PATH/x64.complete
|
||||
touch $NODE_TOOLCACHE_VERSION_PATH/$ARCH.complete
|
||||
|
||||
@@ -3,25 +3,31 @@
|
||||
"version": "20.9.0",
|
||||
"stable": true,
|
||||
"lts": "Iron",
|
||||
"release_url": "https://github.com/actions/node-versions/releases/tag/20.9.0-6635846781",
|
||||
"release_url": "https://github.com/actions/node-versions/releases/tag/20.9.0-6797996195",
|
||||
"files": [
|
||||
{
|
||||
"filename": "node-20.9.0-darwin-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6797996195/node-20.9.0-darwin-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "node-20.9.0-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6635846781/node-20.9.0-darwin-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6797996195/node-20.9.0-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "node-20.9.0-linux-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6635846781/node-20.9.0-linux-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6797996195/node-20.9.0-linux-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "node-20.9.0-win32-x64.7z",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6635846781/node-20.9.0-win32-x64.7z"
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6797996195/node-20.9.0-win32-x64.7z"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -367,25 +373,31 @@
|
||||
"version": "18.18.2",
|
||||
"stable": true,
|
||||
"lts": "Hydrogen",
|
||||
"release_url": "https://github.com/actions/node-versions/releases/tag/18.18.2-6529389914",
|
||||
"release_url": "https://github.com/actions/node-versions/releases/tag/18.18.2-6796085386",
|
||||
"files": [
|
||||
{
|
||||
"filename": "node-18.18.2-darwin-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6796085386/node-18.18.2-darwin-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "node-18.18.2-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6529389914/node-18.18.2-darwin-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6796085386/node-18.18.2-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "node-18.18.2-linux-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6529389914/node-18.18.2-linux-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6796085386/node-18.18.2-linux-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "node-18.18.2-win32-x64.7z",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6529389914/node-18.18.2-win32-x64.7z"
|
||||
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6796085386/node-18.18.2-win32-x64.7z"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user