From e8587be1df622550b7beda32e40289311ea251d6 Mon Sep 17 00:00:00 2001 From: Finn Date: Sun, 4 Aug 2024 23:27:25 -0700 Subject: [PATCH] install go the old fashion way --- .forgejo/workflows/build-apcupsd-exporter.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.forgejo/workflows/build-apcupsd-exporter.yaml b/.forgejo/workflows/build-apcupsd-exporter.yaml index 7afd4a5..1c4cc20 100644 --- a/.forgejo/workflows/build-apcupsd-exporter.yaml +++ b/.forgejo/workflows/build-apcupsd-exporter.yaml @@ -11,12 +11,10 @@ jobs: container: image: ghcr.io/catthehacker/ubuntu:runner-latest steps: - - uses: actions/setup-go@v5 - with: - go-version: 1.22 - name: Build apcupsd_exporter run: | set -exuo pipefail + sudo apt-get update && sudo apt-get install -y golang-go git clone https://github.com/mdlayher/apcupsd_exporter.git cd apcupsd_exporter go build .