make release crossbuild
Some checks failed
release / release-full (push) Failing after 1m55s

This commit is contained in:
saji 2024-03-09 08:33:21 -06:00
parent 1e72b93143
commit 4566ea369c

View file

@ -6,7 +6,7 @@ on:
- '*' - '*'
jobs: jobs:
release-openmct: release-full:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -17,17 +17,29 @@ jobs:
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
- name: Install OpenMCT - name: Install OpenMCT
run: npm install run: npm ci
working-directory: web/ working-directory: web/
- name: Build OpenMCT bundle - name: Build OpenMCT bundle
run: npm run build run: npm run build
working-directory: web/ working-directory: web/
- name: Build Gotelem - name: Build
run: go build -v -tags openmct ./cmd/gotelem uses: crazy-max/ghaction-xgo@v3
- name: Use Go Action with:
id: use-go-action xgo_version: latest
go_version: 1.22
dest: build
prefix: gotelem-full
targets: windows/amd64,linux/amd64,linux/arm64,linux/arm/v7,darwin/arm64,darwin/amd64
tags: openmct
v: true
x: false
race: false
ldflags: -s -w
buildmode: default
trimpath: true
- name: Release binaries
uses: https://gitea.com/actions/release-action@main uses: https://gitea.com/actions/release-action@main
with: with:
files: |- files: |-
gotelem build/**
api_key: '${{secrets.RELEASE_TOKEN}}' api_key: '${{secrets.RELEASE_TOKEN}}'