diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d4433f1e..8ea3253c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,3 +17,11 @@ jobs: with: go-version: '1.25' architecture: 'arm64' + - run: go build -o bin/ ./cmd/... + - run: sudo apt update && sudo apt install -y tar + - run: tar cvzf 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 +