This commit is contained in:
parent
ce22223262
commit
8f8825d3ba
1 changed files with 10 additions and 0 deletions
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
|
|
@ -17,3 +17,13 @@ jobs:
|
|||
with:
|
||||
go-version: '1.25'
|
||||
architecture: 'arm64'
|
||||
- name: Install ARM64 toolchain
|
||||
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu
|
||||
- run: GOOS=linux GOARCH=arm64 CGO_ENABLED=1 CC=aarch64-linux-gnu-gcc 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue