update go version for ppa

This commit is contained in:
Lifailon
2026-03-16 12:40:24 +03:00
parent 3f0a0a3333
commit 27243970bc
+5 -5
View File
@@ -65,8 +65,8 @@ jobs:
if: ${{ github.event.inputs.Install != 'true' }}
run: |
sudo apt-get update
sudo apt-get install -y golang-1.23-go
/usr/lib/go-1.23/bin/go version
sudo apt-get install -y golang-1.24-go
/usr/lib/go-1.24/bin/go version
- name: Install dependencies for build deb package
if: ${{ github.event.inputs.Install != 'true' }}
@@ -94,7 +94,7 @@ jobs:
DISTRO: ${{ github.event.inputs.Distro }}
APP_VERSION: ${{ github.event.inputs.Version }}
run: |
export PATH="/usr/lib/go-1.23/bin:$PATH"
export PATH="/usr/lib/go-1.24/bin:$PATH"
export GOTOOLCHAIN=local
export DEBFULLNAME="$DEB_FULLNAME"
export DEBEMAIL="$DEB_EMAIL"
@@ -111,8 +111,8 @@ jobs:
sed -i '1a export GOFLAGS=-mod=vendor' debian/rules
echo -e "\n\033[33m>>> Update go version\033[0m\n"
sed -i 's/golang-any/golang-1.23-go/' debian/control
sed -i '1a export PATH := /usr/lib/go-1.23/bin:$(PATH)' debian/rules
sed -i 's/golang-any/golang-1.24-go/' debian/control
sed -i '1a export PATH := /usr/lib/go-1.24/bin:$(PATH)' debian/rules
sed -i '1a export GOTOOLCHAIN := local' debian/rules
echo -e "\n\033[33m>>> Update debian control\033[0m\n"