1
0
Fork 0
mirror of https://code.forgejo.org/actions/go-versions synced 2025-07-03 23:35:59 +02:00

add architecture to installer script

This commit is contained in:
Dmitry Shibanov 2023-11-07 19:21:04 +01:00
parent efc7cf9b98
commit c3dc4a7d91
2 changed files with 4 additions and 3 deletions

View file

@ -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)"