Add package step
Some checks failed
ci / build_and_publish (push) Failing after 6m7s

This commit is contained in:
Ana Custura 2026-01-14 17:47:59 +00:00
parent ce22223262
commit 51c84ad06c

View file

@ -17,3 +17,11 @@ jobs:
with: with:
go-version: '1.25' go-version: '1.25'
architecture: 'arm64' architecture: 'arm64'
- run: GOOS=linux GOARCH=arm64 CGO_ENABLED=1 go build -o bin/ ./cmd/...
- run: sudo apt update && sudo apt install -y tar
- run: tar dendrite.tar.gz bin/*
- run: |
curl -H "Authorization: token ${{ secrets.PACKAGE_TOKEN }}" -X DELETE "https://guardianproject.dev/api/packages/butter/generic/dendrite/latest"
- run: |
curl -H "Authorization: token ${{ secrets.PACKAGE_TOKEN }}" -X PUT --upload-file dendrite.tar.gz https://guardianproject.dev/api/packages/butter/generic/dendrite/latest/keanu-weblite.tar.gz