mirror of
https://code.forgejo.org/actions/go-versions.git
synced 2025-06-03 21:04:27 -04:00
add architecture to installer script (#91)
This commit is contained in:
parent
efc7cf9b98
commit
6de71f133a
2 changed files with 4 additions and 3 deletions
|
@ -44,7 +44,7 @@ class NixGoBuilder : GoBuilder {
|
|||
$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)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue