mirror of
https://github.com/Lifailon/lazyjournal.git
synced 2026-11-11 01:09:46 +01:00
update go version for ppa
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user