fix apcupsd_exporter build
All checks were successful
/ build (push) Successful in 33s

This commit is contained in:
Finn 2024-08-04 23:32:09 -07:00
parent 4b9826e489
commit 3519f486b9

View file

@ -17,12 +17,15 @@ jobs:
sudo apt-get update && sudo apt-get install -y golang-go sudo apt-get update && sudo apt-get install -y golang-go
git clone https://github.com/mdlayher/apcupsd_exporter.git git clone https://github.com/mdlayher/apcupsd_exporter.git
cd apcupsd_exporter cd apcupsd_exporter
go build . go build ./cmd/apcupsd_exporter
ls -lha
pwd
- name: upload - name: upload
uses: https://codeberg.org/EntanglementGarden/actions/generic-upload@v0.1 uses: https://codeberg.org/EntanglementGarden/actions/generic-upload@v0.1
with: with:
upload-username: ${{ secrets.DEPLOY_USER }} # must be a user that can upload to the registry upload-username: ${{ secrets.DEPLOY_USER }} # must be a user that can upload to the registry
upload-token: ${{ secrets.DEPLOY_TOKEN }} upload-token: ${{ secrets.DEPLOY_TOKEN }}
files: apcupsd_exporter/apcupsd_exporter files: apcupsd_exporter/apcupsd_exporter
version: ${{ github.SHA }}
package: infra-apcupsd_exporter package: infra-apcupsd_exporter