fix(ci): prefix PATH with correct Go compiler path

Otherwise we end up with weird errors like:
```
status-go/go.mod:5: unknown directive: toolchain
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-06-07 10:48:42 +02:00 committed by Jakub
parent fdf47c4c21
commit 99d2f6e690
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,8 @@ pipeline {
MAKEFLAGS = "-j4 V=${params.VERBOSE}" MAKEFLAGS = "-j4 V=${params.VERBOSE}"
/* WARNING: Qt 5.15.8 installed via Brew. */ /* WARNING: Qt 5.15.8 installed via Brew. */
QTDIR = '/opt/homebrew/opt/qt@5' QTDIR = '/opt/homebrew/opt/qt@5'
PATH = "${env.QTDIR}/bin:${env.PATH}" /* Enforce Go version installed infra-role-golang. */
PATH = "${env.QTDIR}/bin:/usr/local/go/bin:${env.PATH}"
/* Avoid weird bugs caused by stale cache. */ /* Avoid weird bugs caused by stale cache. */
QML_DISABLE_DISK_CACHE = "true" QML_DISABLE_DISK_CACHE = "true"
/* Control output the filename */ /* Control output the filename */